Command To Print All Keys In A NIS Database

RegisterLogin
Command To Print All Keys In A NIS Database
Post Description: you can use this command to print all keys in a nis database
Tags: command, to, print, all, keys, in, a, nis, database
This Post Was Posted On Mar 21, 2010 By Hostman #3275
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
Leave Your Comments
Related Pages: [Add Your Website]
Post New Topic
paulie
#5071 1
if you have linx or windows is the same?
May 05, 2011 Reply Report abuse
©2011 Webune Forums - Wed Dec 21, 2011 12:04 pm
Powered by: Webune Forums V3