Re: What to do to add a secondary user group?
Jens.Toerring_at_physik.fu-berlin.de
Date: 08/19/04
- Next message: Julie: "What is the difference between command "PS" and "PS -aux""
- Previous message: Pascal Bourguignon: "Re: What to do to add a secondary user group?"
- In reply to: Pascal Bourguignon: "Re: What to do to add a secondary user group?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 19 Aug 2004 12:23:13 GMT
In comp.unix.programmer Pascal Bourguignon <spam@mouse-potato.com> wrote:
> qazmlp1209@rediffmail.com (qazmlp) writes:
>> ---------------------------------------------------
>> Format of /etc/group:
>> <Group name>:<Encrypted Password>:<Numerical Group ID>:<Individual
>> user names that are part of the group:'Group name'>
>>
>> Format of /etc/passwd:
>> <userName> : <Encrypted Password> : <Numerical user ID> : <Numerical
>> Group ID> : <Comment Field> : <Initial Working Directory> : <Initial
>> shell>
>> ---------------------------------------------------
>>
>> As I understand, it is necessary to adapt only /etc/group to add a
>> secondary user group to a user.
>> For any reason, is it required to change /etc/passwd also?
>> I assume NO.
>> In my understanding, we mention only the Primary group Id in
>> /etc/passwd.
> You understand and assume correctly.
> The user have to login again though to get the new groups taken into account.
And there can also be a gshadow file that has the same function as
/etc/shadow for /etc/passwd, which might also require tweaking...
Regards, Jens
-- \ Jens Thoms Toerring ___ Jens.Toerring@physik.fu-berlin.de \__________________________ http://www.toerring.de
- Next message: Julie: "What is the difference between command "PS" and "PS -aux""
- Previous message: Pascal Bourguignon: "Re: What to do to add a secondary user group?"
- In reply to: Pascal Bourguignon: "Re: What to do to add a secondary user group?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|