1829913 Members
3081 Online
109993 Solutions
New Discussion

yppasswd not working

 
sandyunix
Occasional Advisor

yppasswd not working

Hi,

I tried to change the password of a user on a hp-ux B.11.11 master server. But i got an error 'Couldn't create client to YP master: RPC: Program not registered'. I'd found that the rpc.yppasswdd is not running. But i was unable to restart the yp services. Everything else was fine. Can someone please advise me the resolution.

Thanks in advance.
2 REPLIES 2
Shibin_2
Honored Contributor

Re: yppasswd not working

>> i was unable to restart the yp services.

What was the error? Any evidence from logs ?
Regards
Shibin
Manix
Honored Contributor

Re: yppasswd not working

You can run the ypcat, ypmatch commands to make sure communication to the server is correct. check /etc/nsswithch.conf as well

[root@small tmp]# ypcat passwd
nisuser:$1$Cs2GMe6r$1hohkyG7ALrDLjH1:505:100::/home/nisuser:/bin/bash
quotauser:!!:503:100::/home/quotauser:/bin/bash
ftpinstall:$1$8WjAVtes$SnRh9S1w07sYkFNJwpRKa.:502:100::/:/bin/bash

[root@smallfry tmp]# ypmatch nisuser passwd
nisuser:$1$d6E2i79Q$wp3Eo0Qw9nFD/:504:100::/home/nisuser:/bin/bash

read the configuration settings for NIS client

http://docs.hp.com/en/5991-1154/ch04s05.html

HP-UX been always lovable - Mani Kalra