4.3BSD-UWisc/man/cat5/netgroup.5

Compare this file to the similar file:
Show the results in this format:




NETGROUP(5)         UNIX Programmer's Manual          NETGROUP(5)



NAME
     netgroup - list of network groups

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

           groupname member1 member2 ....

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

           (hostname, username, domainname)

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

           universal (,,)

     defines a group to which everyone belongs.  Field names that
     begin with something other than a letter, digit or under-
     score (such as ``-'') work in precisely the opposite
     fashion. For example, consider the following entries:

           justmachines  (analytica,-,sun)
           justpeople    (-,babbage,sun)

     The machine _a_n_a_l_y_t_i_c_a belongs to the group _j_u_s_t_m_a_c_h_i_n_e_s in
     the domain _s_u_n, but no users belong to it.  Similarly, the
     user _b_a_b_b_a_g_e belongs to the group _j_u_s_t_p_e_o_p_l_e in the domain
     _s_u_n, but no machines belong to it.

     Network groups are contained in the yellow pages, and are
     accessed through these files:

           /etc/yp/_d_o_m_a_i_n_n_a_m_e/netgroup.dir
           /etc/yp/_d_o_m_a_i_n_n_a_m_e/netgroup.pag
           /etc/yp/_d_o_m_a_i_n_n_a_m_e/netgroup.byuser.dir
           /etc/yp/_d_o_m_a_i_n_n_a_m_e/netgroup.byuser.pag
           /etc/yp/_d_o_m_a_i_n_n_a_m_e/netgroup.byhost.dir
           /etc/yp/_d_o_m_a_i_n_n_a_m_e/netgroup.byhost.pag

     These files can be created from /_e_t_c/_n_e_t_g_r_o_u_p using _m_a_k_-
     _e_d_b_m(8).

FILES
     /etc/netgroup
     /etc/yp/_d_o_m_a_i_n_n_a_m_e/netgroup.dir
     /etc/yp/_d_o_m_a_i_n_n_a_m_e/netgroup.pag



Printed 12/27/86         1 February 1985                        1






NETGROUP(5)         UNIX Programmer's Manual          NETGROUP(5)



     /etc/yp/_d_o_m_a_i_n_n_a_m_e/netgroup.byuser.dir
     /etc/yp/_d_o_m_a_i_n_n_a_m_e/netgroup.byuser.pag
     /etc/yp/_d_o_m_a_i_n_n_a_m_e/netgroup.byhost.dir
     /etc/yp/_d_o_m_a_i_n_n_a_m_e/netgroup.byhost.pag

SEE ALSO
     getnetgrent(3), exportfs(8), makedbm(8), ypserv(8)
















































Printed 12/27/86         1 February 1985                        2