08-18-04 10:57 PM
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
.
--
__Pascal Bourguignon__ http://www.informatimago.com/
Our enemies are innovative and resourceful, and so are we. They never
stop thinking about new ways to harm our country and our people, and
neither do we.
[ Post a follow-up to this message ]
|