Password and group caching

If you have a NIS client on HPUX and you’ve spent a few hours already trying to understand why on the earth “id” command keeps telling something like this:

bash-3.2# id sergeyt
Can't find user sergeyt

And you’ve already checked all the pieces where NIS could brake, i.e. nsswitch.conf, ypwhich -m, ypmatch user_name passwd, nsquery, then try to ‘/sbin/init.d/pwgr stop’ and see if that would make a difference. Linux has a similar service called nscd (name server cache daemon) that has caused me a lot of trouble similar to the one mentioned above because both nscd and pwgrd cache not only positive but a negative responses as well.
Edit /etc/rc.config.d/pwgr file on HPUX server if you prefer this service to be disabled even if the server is rebooted.

Posted on April 6, 2011 at 1:25 pm by sergeyt · Permalink
In: HP-UX

Leave a Reply