SUMMARY: passwd & group question

From: Marcelo Maraboli (
Date: Thu Apr 18 1996 - 09:21:42 CDT

Hello admins...

This is soon as I got home I figured the answer by myself.. :)

The question was..

Why do I have to re-specify a user's group (vice-versa) in /etc/group??
It's already specified in /etc/passwd..

Thanks to the MANY MANY people who replied..

The answer is simple...

/etc/groups is used to specify SECONDARY groups for users, the PRIMARY
group is specified in /etc/passwd, so re-specifying is redundant.

For security matters and corruption of /etc/passwd is may be recommendable
to re-specify the PRIMARY group of a user in /etc/group so
/etc/passwd can be reconstructed easy.

Thanks again..

PD: sorry for the stupid question... :)

Marcelo Maraboli R.                | |----| |-[]-| |----|  C: uCapacitor
                                   | |     C  I   C     |  I: Electronic
Undergraduate Student              | |                  |       Island
Electronic Engineering             | |--------()--------|  V: Voltage
Federico Santa Maria University	   |        V + -          
Chile                              |         "Quantum Electronics"       
                                   | The Beginning of the New Electronic Age
System Operator of  ||  "Quantum Electronics, That's COOL!"
WWW :  |  "Shut up, Beavis!" 

This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:10:58 CDT