From owner-freebsd-arch Tue Jan 16 14:44:23 2001 Delivered-To: freebsd-arch@freebsd.org Received: from meow.osd.bsdi.com (meow.osd.bsdi.com [204.216.28.88]) by hub.freebsd.org (Postfix) with ESMTP id B97A137B698 for ; Tue, 16 Jan 2001 14:44:04 -0800 (PST) Received: from laptop.baldwin.cx (john@jhb-laptop.osd.bsdi.com [204.216.28.241]) by meow.osd.bsdi.com (8.11.1/8.9.3) with ESMTP id f0GMfpL20477; Tue, 16 Jan 2001 14:41:51 -0800 (PST) (envelope-from jhb@FreeBSD.org) Message-ID: X-Mailer: XFMail 1.4.0 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: Date: Tue, 16 Jan 2001 14:43:40 -0800 (PST) From: John Baldwin To: Marc Slemko Subject: Re: no newgroup/newgrp in FreeBSD? Cc: arch@FreeBSD.org, Peter Pentchev , Will Andrews , Peter Wemm Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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 -- 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