Command To Print All Keys In A NIS Database
- Forums
- Apache Hosting
- Command To Print All Keys In A NIS Database
you can use this command to print all keys in a nis database [995], Last Updated: Mon Jun 24, 2024
Hostman
Sun Mar 21, 2010
1 Comments
583 Visits
you can use this command to print all keys in a NIS database
# ypcat passwd
the ypcat command lets you display the values of all the keys in a NIS databse. to display the user's information from /etc/passwd file in a server, then you have to use ypcat passwd.
note: if you dont have a NIS databse, then you will get this error:
ypcat: can't get local yp domain: Local domain name not set
https://www.webune.com/forums/20100321cbfg.html