From owner-freebsd-questions Mon Apr 2 15:28:35 2001 Delivered-To: freebsd-questions@freebsd.org Received: from ramstind.gtf.ol.no (ramstind.gtf.ol.no [128.39.174.16]) by hub.freebsd.org (Postfix) with ESMTP id 0253D37B718 for ; Mon, 2 Apr 2001 15:28:33 -0700 (PDT) (envelope-from trond@ramstind.gtf.ol.no) Received: from localhost (trond@localhost) by ramstind.gtf.ol.no (8.9.3/8.9.3) with ESMTP id AAA62041 for ; Tue, 3 Apr 2001 00:27:16 +0200 (CEST) (envelope-from trond@ramstind.gtf.ol.no) Date: Tue, 3 Apr 2001 00:27:16 +0200 (CEST) From: =?ISO-8859-1?Q?Trond_Endrest=F8l?= To: FreeBSD questions Subject: Is there an equivalent of newgrp in FreeBSD? Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=ISO-8859-1 Content-Transfer-Encoding: 8BIT Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi, all, The command newgrp exists on SysV inspired systems such as RISC/os and Red Hat GNU/Linux. Its purpose is to change the effective gid of the user running the command. The user may choose only from the groups he/she is a member of. What is the BSD equivalent, if any? Please cc me, as I'm not currently subscribed to this list. BTW, is the use of the password field in the group file implemented in FreeBSD, or other Unices for that matter? -- ---------------------------------------------------------------------- Trond Endrestøl | trond@ramstind.gtf.ol.no Patron of The Art of Computer Programming| FreeBSD 3.5-S & Pine 4.31 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message