Xxx Netgr Exclusive -
sudo nano /etc/netgroup Add your netgroups. For example:
netgroup: nis files 1. Restricting SSH Access via netgr In /etc/ssh/sshd_config : xxx netgr
AllowGroups @admins DenyGroups @contractors Then ssh -v will check the netgr map before granting a login. In /etc/exports : sudo nano /etc/netgroup Add your netgroups