From owner-freebsd-questions Wed Jul 22 00:21:54 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id AAA26831 for freebsd-questions-outgoing; Wed, 22 Jul 1998 00:21:54 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from shell6.ba.best.com (jkb@shell6.ba.best.com [206.184.139.137]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id AAA26819 for ; Wed, 22 Jul 1998 00:21:48 -0700 (PDT) (envelope-from jkb@best.com) Received: from localhost (jkb@localhost) by shell6.ba.best.com (8.9.0/8.9.0/best.sh) with SMTP id AAA07092; Wed, 22 Jul 1998 00:20:15 -0700 (PDT) X-Authentication-Warning: shell6.ba.best.com: jkb owned process doing -bs Date: Wed, 22 Jul 1998 00:20:15 -0700 (PDT) From: "Jan B. Koum " X-Sender: jkb@shell6.ba.best.com To: "Christopher J. Michaels" cc: questions@FreeBSD.ORG Subject: Re: About adduser and su In-Reply-To: <35B51D5D.56DDB482@earthling.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Many reasons.. GID of 0 means you are in group wheel -- and a log of files on the system are chmod'ed to group wheel. Also, this simply not a good security practice. -- Yan Jan Koum jkb@best.com | "Turn up the lights; I don't want www.FreeBSD.org -- The Power to Serve | to go home in the dark." On Tue, 21 Jul 1998, Christopher J. Michaels wrote: >Ok i realize this may be a 'newbe' questions, but why wouldn't you want to set >someone with a GID of 0? > > >Jan B. Koum wrote: > >> Ahh... You have to the user in the group wheel. Edit file >> /etc/group and that user to the end of the first line: >> wheel:*:0:root,newuser >> Don't make users with uid of gid of 0 -- just make sure they are >> in the wheel group. :) Vsego horoshego, >> >> -- Yan >> >> Jan Koum jkb@best.com | "Turn up the lights; I don't want >> www.FreeBSD.org -- The Power to Serve | to go home in the dark." >> >> On Tue, 20 Jul 2004, vasil wrote: >> >> >I have some problem with adduser and su command. >> >Then I add new user with GID =0 , su return an error (not correct group >> >for su) >> >What happens? >> >What is default login class? >> > Thanks. Vasil >> > >> >> To Unsubscribe: send mail to majordomo@FreeBSD.org >> with "unsubscribe freebsd-questions" in the body of the message > > > > >To Unsubscribe: send mail to majordomo@FreeBSD.org >with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message