SUMMARY: passwd & group question

From: Marcelo Maraboli (maraboli@llico.disca.utfsm.cl)
Date: Thu Apr 18 1996 - 09:21:42 CDT


Hello admins...

This is funny...as 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...

YOU DON'T HAVE TO..
/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 disca.utfsm.cl  |        
email:maraboli@llico.disca.utfsm.cl|  "Quantum Electronics, That's COOL!"
WWW : http://llico.disca.utfsm.cl  |  "Shut up, Beavis!" 
--------------------------------------------------------------------------/



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