ypcat - prints the values of all keys from the NIS database

ypcat prints the values of all keys from the NIS database specified by mapname, which may be a map name or a map nickname.  

ypcat passwd | grep username
ypcat -k netgroup.byuser | grep username

Comments

Popular posts from this blog

HAproxy logging

teamcity Automatic Agent Start under Linux

NFS mount add in fstab _netdev instead of default | firewall-cmd --list-all