On Mon, 20 Sep 1999, Jaspreet Ahuja wrote:

> I would like to use /etc/group file to give a team full access to a
> particular directory. How can I use this file to define groups and how
> should the user accounts and directories be setup such that one person can
> be part of multiple groups and have selective access to various directories
> on the machine.
This is a RTFM question. From the group(5) manpage:

       /etc/group  is  an  ASCII file which defines the groups to
       which users belong.  There is one entry per line, and each
       line has the format:

              group_name:passwd:GID:user_list

       The field descriptions are:

       group_name
              the name of the group.

       password
              the  (encrypted)  group password.  If this field is
              empty, no password is needed.

       GID    the numerical group ID.

       user_list
              all the group member's  user  names,  separated  by
              commas.


-- 
Understanding is a three edged sword. Do you *want* to get the point?
         http://www.albatross.co.nz/~psycho/        O-

Reply via email to