


NETGROUP(5)               FILE FORMATS                NETGROUP(5)



NAME
     netgroup - list of network groups

DESCRIPTION
     netgroup defines network wide groups,  used  for  permission
     checking when doing remote mounts, remote logins, and remote
     shells.  For remote mounts, the information in  netgroup  is
     used  to  classify  machines;  for  remote logins and remote
     shells, it is used to classify users.  Each line of the net-
     group file defines a group and has the format

          _g_r_o_u_p_n_a_m_e _l_i_s_t-_o_f-_m_e_m_b_e_r_s

     where members is either another group name, or a triple:

          (_h_o_s_t_n_a_m_e, _u_s_e_r_n_a_m_e, _d_o_m_a_i_n_n_a_m_e)

     Any of these three fields can be empty,  in  which  case  it
     signifies a wild card.  Thus

          universal (,,)

     defines a group to which everyone belongs.

     The _d_o_m_a_i_n_n_a_m_e field must either be the local domain name or
     empty  for  the  netgroup entry to be used.  This field does
     _n_o_t limit the netgroup or provide security.  The  _d_o_m_a_i_n_n_a_m_e
     field refers to the domain in which the triple is valid, not
     the domain containing the trusted host.

     A gateway machine should be listed under all possible  host-
     names by which it may be recognized:

          wan (gateway,,) (gateway-ebb,,)

     Field names that begin with something other than  a  letter,
     digit  or  underscore  (such  as  `-') work in precisely the
     opposite  fashion.   For  example,  consider  the  following
     entries:
          justmachines   (analytica,-,sun)
          justpeople     (-,babbage,sun)

     The machine analytica belongs to the group  justmachines  in
     the  domain  sun, but no users belong to it.  Similarly, the
     user babbage belongs to the group justpeople in  the  domain
     sun, but no machines belong to it.

SEE ALSO
     getnetgrent(3N), exports(5), makedbm(8), ypserv(8)






Sun Release 4.1   Last change: 22 December 1987                 1






NETGROUP(5)               FILE FORMATS                NETGROUP(5)



WARNINGS
     The  triple,  (,,_d_o_m_a_i_n),  allows  all  users  and  machines
     trusted access, and has the same effect as the triple, (,,).

     To correctly restrict access to a specific set  of  members,
     use the _h_o_s_t_n_a_m_e and _u_s_e_r_n_a_m_e fields of the triple.

















































Sun Release 4.1   Last change: 22 December 1987                 2



