Is it possible to find out which hosts are using a yp server? I want to remove / update an older VM that's acting as a yp-server but it's not clear which clients are out there.
Asked
Active
Viewed 49 times
1 Answers
2
Problem is: ypserv normally only logs errors into the syslog. This isn't helpful for your use case.
Workaround, assuming RHEL/CentOS, other systems should be similar.
- Check if
/etc/ypserv.securenetsexists and is of any help. This can include a line for every host allowed to use NIS. - Put
ypservinto debug mode with the-doption. This should spew out a line for every connection to STDERR. Seeman ypserv. Warning:ypservwill not background itself in this mode. Run it inscreenor similar. - The evil way: Prevent all connections in
/etc/ypserv.securenetsand look into/var/log/messagesto see who wanted to connect :)
Sven
- 100,763