Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Jul 1998 00:20:15 -0700 (PDT)
From:      "Jan B. Koum " <jkb@best.com>
To:        "Christopher J. Michaels" <cjm2@earthling.net>
Cc:        questions@FreeBSD.ORG
Subject:   Re: About adduser and su
Message-ID:  <Pine.BSF.3.96.980722001548.4316C-100000@shell6.ba.best.com>
In-Reply-To: <35B51D5D.56DDB482@earthling.net>

next in thread | previous in thread | raw e-mail | index | archive | help

	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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.980722001548.4316C-100000>