[plug] <NEWBIE> - Passwd and Group

Earnshaw, Mike earnshawm at wa.switch.aust.com
Thu Apr 20 14:16:37 WST 2000


List,

Up until now i have not had to worry about groups on my linux box, things
have now changed. Would someone mind correcting me if I have this incorrect?

-rwxrwxrwx

First rwx is ownner, second is group, third is everyone.
In /etc/passwd:   <user>:x-password:userid:groupid: ......

Q1: Can I have more than one group listed in the passwd file? i.e.
<user>:x:123:678:679 where 123 is the userid and 678, 679 are groupid's

Situation:
We now have two admin people, so I created a group (office_admin), assigned
that as the group owner of a directory. But one of the office_admin users
should also be a member of a different group, which does not have access to
the office_admin directory. Am I just running round in circles?

Thanks

----------------------------------------------------------------------------
Mike Earnshaw       |   " Questions are the         | e-mail in header
Computer Systems    |     Beginning of Wisdom "     | Tel: +61 8 9256 1099
  Support           | Lt. Worf, TNG "Rightful Heir" | Fax: +61 8 9256 1199
----------------------------------------------------------------------------
Union Switch & Signal, 24 Bannick Court, Canning Vale, WA 6155, Australia
----------------------------------------------------------------------------



More information about the plug mailing list