If you are getting a Error "Permission Denied" While changing the Passwords in NIS even if you are doing as root. the following steps solves this issue. 1. check whether the yppasswdd daemon is running. Type ps -ef|grep yp to check this
2. if it is not running start the yppasswdd daemon with NIS Maps directory as parameter..
/var/yp/src/ directory contains the NIS Maps in Solaris
3. This will fix the issue. Also check the permission and ownership of the passwd file on the NIS Maps directory. it should be owned by root. This has been tested in Solaris and might work in Linux as well
I'm Parthiban, An UNIX System Admin by Profession. I'm Experienced in Linux/Unix System Administration and Scripting. I have done lot of work on the infrastructure Mgmt side in Linux, UNIX and Windows system administration, Hardware, Storage and Data center. I'm blogging since 2008.
Follow Me On Twitter or On Facebook
LazySystemAdmin is a site with 300+ Articles, how-to guides and video tutorials on all things related to System Administration and Technology. This Blog is to share our knowledge and expertise on System Administration and Operating Systems. Stay connected with LazySystemAdmin.