Date: Tue, 16 Jan 2001 14:43:40 -0800 (PST) From: John Baldwin <jhb@FreeBSD.org> To: Marc Slemko <marcs@znep.com> Cc: arch@FreeBSD.org, Peter Pentchev <roam@orbitel.bg>, Will Andrews <will@physics.purdue.edu>, Peter Wemm <peter@netplex.com.au> Subject: Re: no newgroup/newgrp in FreeBSD? Message-ID: <XFMail.010116144340.jhb@FreeBSD.org> In-Reply-To: <Pine.BSF.4.20.0101161429420.6880-100000@alive.znep.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 16-Jan-01 Marc Slemko wrote:
> On Tue, 16 Jan 2001, Peter Wemm wrote:
>
>> This functionality does not have any place in FreeBSD as "all groups in
>> the groups vector are equal". We could simply provide a non-setuid wrapper
>> for running a new command with no changes... That would be compliant with
>> the interface..
>
> newgrp is also of use when your group membership in /etc/groups has been
> changed after you logged in and were setup with the appropriate group
> list.
>
> You login, are not a member of group freeporn, then someone adds you to
> group freeporn, and "newgrp freeporn" will let you get free porn without
> logging in again, etc.
>
> No?
/usr/bin/login -f ${LOGNAME}
--
John Baldwin <jhb@FreeBSD.org> -- http://www.FreeBSD.org/~jhb/
PGP Key: http://www.baldwin.cx/~john/pgpkey.asc
"Power Users Use the Power to Serve!" - http://www.FreeBSD.org/
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-arch" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.010116144340.jhb>
