---------------------------------------------------
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....
Bookmarks