1831698 Members
2144 Online
110029 Solutions
New Discussion

Re: NIS maps

 
PVR
Valued Contributor

NIS maps

Is there any command to get all map information in a master serever
Don't give up. Try till success...
4 REPLIES 4
rvrameshbabu
Advisor

Re: NIS maps


ypwhich -m | grep master_server_name
Shaikh Imran
Honored Contributor

Re: NIS maps

Hi,

ypwhich -m should do the trick
-m is for master server
If you want for slave nis servers then
ypwhich -s

Regards,

I'll sleep when i am dead.
Jan Sladky
Trusted Contributor

Re: NIS maps

hi,

by

/usr/bin/ypwhich -m

you will get info from master

br Jan
GSM, Intelligent Networks, UNIX
Saravana Kumar_2
New Member

Re: NIS maps

AFAIK, there is no way to list all mappings.

What you can do is you can see each mapped file individually.

#ypcat passwd
#ypcat

HTH,
SK