problem in changing the NIS passwd


 
Thread Tools Search this Thread
Operating Systems Solaris problem in changing the NIS passwd
# 1  
Old 06-26-2005
problem in changing the NIS passwd

Now I face a problem in changing the NIS passwd,I have no idea,want you to help me!
Today I add some user in the NIS master server ,I "vi" /etc/passwd &/etc/shadow,add user account and password by hand(shadow----no password ,only eight ":").
when finsh,I login ,system told me to input a password for twice ,but I got error message:
"Creat clnt failure:RPCSmilierogram not registered.
permission denied." Then disappear.
I login again ,I got another error message:
"Passwd (NIS): Couldn't change passwd/attributes for test
password file/table busy.Try again later."
I login with exist user account ,succeed,but couldn't chang password.
whether i chang file "rpc.yppasswd" setting will resolve this promble ?
I don't known what to do, please help me to resolve this promble !
Thanks !!!
# 2  
Old 06-27-2005
Try this: passwd -r yp
# 3  
Old 06-29-2005
try to do the followings

after change the /etc/passwd or /etc/shadows, try to do the followings:

1、 cd /var/yp
2、/usr/ccs/bin/make

these 2 steps can update the "nis maps", try to do so. Call ,and tell me the result. bye!
# 4  
Old 06-29-2005
Quote:
Originally Posted by syzhh
after change the /etc/passwd or /etc/shadows, try to do the followings:

1、 cd /var/yp
2、/usr/ccs/bin/make

these 2 steps can update the "nis maps", try to do so. Call ,and tell me the result. bye!
I try,no effect!!
I find "passwd%,passwd.ptmp,shadow%,shadow.ptmp"files before,and i removed them,i think them are lock file.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Red Hat

Changing windows xp passwd doetn't change smbpasswd on server

Hi All we have small network which is in work group environment.We have one Samba server for sharing data on network.My Problem is when user change his/her password on windows machine i have to manually update his smb passwd on Samba server.I want password should change automatically on... (2 Replies)
Discussion started by: Vaibhav.T
2 Replies

2. Solaris

Impact on existing users when changing passwd defaults

Hi Administering Solaris Systems - Solaris 10 mostly. If I change the /etc/default/passwd settings - E.G. to increase minimum passwd length, then what happens to existing users with passwords shorter than this. presumably they are not affected until next time they want to change password. ... (4 Replies)
Discussion started by: Mudshark
4 Replies

3. Shell Programming and Scripting

Changing Passwd on Many servers that is not NIS

Hi Expert, I have environment where password is locally managed, not NIS, not LDAP, not Centrally managed. In order to access to this environment I have to use Jump Box, and only from jumpbox I can login to every host. I can't login direct from inside one host within that environment to... (1 Reply)
Discussion started by: regmaster
1 Replies

4. HP-UX

Openspool problem when changing /etc/passwd permissions

My goal is to protect the /etc/passwd from unauthorized viewing. I wish ti change the permissions of the file to : -r--r----- 1 root bin so only root or accounts of the "bin" group could query this sensitive file. All our other processes have been ajusted to not need any info from... (16 Replies)
Discussion started by: MartinGravel
16 Replies

5. Solaris

Changing Password in NIS

Friends I want to know whether i can change the password of a user logged in thru NIS from a client machine after stopping the YP services in NIS server. Note - The Slave server is up and running. I tried doing this. But i got the reply "Permission Denied". I stopped the YP services in... (7 Replies)
Discussion started by: efunds
7 Replies

6. Solaris

Passwd Changing Acting Strange

Hello. I'm getting very odd behavior when I try to change a user's password in Solaris 8. The shell, where it used to ask for a new passwd and a confirmation, now asks FOUR times, with two success message. This is what happens every time: # passwd myusername New Password: xxxxxxxx New... (2 Replies)
Discussion started by: rockusa
2 Replies

7. AIX

new password not available on nis client for up to 10 minutes after yppush passwd

Hi, We are currently in the process to move the user authentication for our AIX clients to a Windows 2003 server to authenticate them against the active directory entries. What we have so far: - NIS master server on Windows 2003 Server with the unix-subsystem installed -> This is managing... (1 Reply)
Discussion started by: candyflip2000
1 Replies

8. Solaris

NIS Problem

I'm having an issue with NIS. I run the following: ./nisclient -i -d XXX.XXXX.XXX -h XXXX-XXXX Everytime I do this with both my master and slave servers up and running and I go to reboot my client the client will hang after starting RPCBIND, and NIS Cachemanager. If I take my slave NIS... (1 Reply)
Discussion started by: buckhtr77
1 Replies

9. Solaris

Problem in changing password in NIS

Hi, I need help urgently. I've been running NIS for 4 years without problem. And just two weeks ago, all my users are unable to change their password which never happens before. When we issue passwd or yppasswd, this is what we get passwd : Changing password for Jennifer Enter existing... (2 Replies)
Discussion started by: jennifer
2 Replies

10. UNIX for Dummies Questions & Answers

Password Changing With NIS

SCO OpenServer 5.05 Has anyone ever received this error when attempting to change/assign a user password? #ypasswd ======================================= yppasswd: (host name) is not running yppasswd daemon Password request denied. Reason: Remote password change request denied.... (2 Replies)
Discussion started by: gseyforth
2 Replies
Login or Register to Ask a Question