Netgroups

  • File /etc/netgroup defines "netgroups", which are sets of (host, user, domain) tuples, used for permission checking when doing remote mounts, remote logins and remote shells.
  • The netgroup file entries on the NIS server look like this:
    
    netgroup  (host,user,domain)  (host,user,domain) ..
    

  • For example a netgroup for powerusers could be:
    
    powerusers  (,samf,) (,tomk,) (,johns,)
    

  • And an entry in the /etc/password file on a NIS client like
    
    +@powerusers:::::: 
    +:*:::::/etc/NoShell
    

  • Note, in /var/yp/Makefile on the server, netgr map has to be included
    
    ALL =   passwd group netgrp
    


    Previous Pageprevious First Pagetop Next Pagenext