can't change password


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users can't change password
# 1  
Old 10-13-2003
can't change password

I have just upgraded one on my solaris 8 machine to solaris 9 the upgraded went fine and user have
loging on successfully and authenticated user logon on nis successfully.

My Nis master runs on solaris 8.
my solaris 9 machine is configure as a Nis client and authenticated user successfully but when user try to change password like

passwd hassan2
Enter existing login password:

ther correct existing password was type but the following error message was displayed

passwd: Sorry, wrong passwd
Permission denied

users are able to change password successfully on other solaris 8 machine using the authenticating to the same NIS master.

Can you help? please
Thanks in Advance
# 2  
Old 10-13-2003
Please verify with the "ypwhich" command that you indeed use the correct Nis-server.

Try changing the password using "yppasswd" command.

Regs David

It sounds very familiar to me about the exact problem, I just cannot remember it anymore.
# 3  
Old 10-13-2003
I have verified that user are authenticating to my NIS master, ypwhich confired this

I also tried yppasswd hassan2

but still receiving the same error message
yppasswd: Sorry, wrong passwd
Permission denied

if I su - to root then tried to change password
I am able to change password successfully

But individual users should be abe to change password themself without su to root, this can be done on my other solaris 8 machine but not on my new solaris 9

Can you help? please
Thanks in Advance
# 4  
Old 10-13-2003
Hassan,

That you are able to change it using root is quiet normal. If I am correct you have root always local !!
Therefor you should always be able to addapt this. Can you please post the last NIS-lines from your /etc/passwd. Maybe something changed here.
Also a truss or tusc of the passwd command might be a bit more specific in what exactly goes wrong.

Regs David
# 5  
Old 10-13-2003
yes my root is set localy to the machine.

the last line of my /etc/passwd file is

+::::::


truss passwd produce the following output when run as normal users

truss: cannot trace set-id or unreachable object file: /bin/passwd
# 6  
Old 10-13-2003
Hhm, and if you run truss as root and then change a users passwd.
So :

# passwd user1

Regs David
# 7  
Old 10-13-2003
Please do a man on "yppasswdd" Yes indeed two dees Smilie

It points you to "/etc/rc.config.d/namesvrs " and much more. It might be very wyse to look at that.

Regs David
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Forum Support Area for Unregistered Users & Account Problems

Password sent via reset password email is 'weak' and won't allow me to change my password

I was unable to login and so used the "Forgotten Password' process. I was sent a NEWLY-PROVIDED password and a link through which my password could be changed. The NEWLY-PROVIDED password allowed me to login. Following the provided link I attempted to update my password to one of my own... (1 Reply)
Discussion started by: Rich Marton
1 Replies

2. AIX

Change password to blank password

AIX 6.1 User has a password set. It needs to be a blank password (no password). smit passwd enter user name at change password and confirm password, just press ENTER Afterwards, I could not log on with blank password or with original password. How can I change the password to a... (2 Replies)
Discussion started by: landog
2 Replies

3. UNIX for Dummies Questions & Answers

Help with Password Change

When I am trying to change the password of my account. I could see the following error: passwd: Changing password for ramu Enter existing login password: passwd: Sorry: less than 14 days since the last change. Permission denied Is anybody out there who can help me in changing my password? (4 Replies)
Discussion started by: bobby1015
4 Replies

4. Solaris

Solaris 8 - Asks for current root password when trying to change root password.

Hello All, I have several solaris boxes running Solaris 8. When changing root passwords on them, all will simply ask for the new root password to change and of course to re-type the new password. One of the systems however asks for the existing root password before it will display the new password... (8 Replies)
Discussion started by: tferrazz
8 Replies

5. Shell Programming and Scripting

how to change root password using shell script with standard password

Hi Friends. I am new to scripting now i want to change the root password using the script with standard password. which is the easy scripting to learn for the beginner, Thanks in advance. (2 Replies)
Discussion started by: kurva
2 Replies

6. Shell Programming and Scripting

change password in one go

Hi all, I need to change the password of any user in one go. For example in Linux we have two options :- (echo "username:password") | chpasswd or echo $PASS | passwd $USER --stdin This changes the password without prompting. Actually, I need to make a script which adds a user and... (5 Replies)
Discussion started by: vikas027
5 Replies

7. HP-UX

change password in one go

Hi all, I need to change the password of any user in one go. For example in Linux we have two options :- (echo "username:password") | chpasswd or echo $PASS | passwd $USER --stdin This changes the password without prompting. Actually, I need to make a script which adds a user and... (0 Replies)
Discussion started by: vikas027
0 Replies

8. UNIX for Advanced & Expert Users

change password ??

Hey all, How to reset the password to a given user id ?? I used passwd commands, but now for that user there are 2 passwords. i.e the old and new passwords. as : passwd mqcfaostt oldpassword : pass1 new password : pass2 Confirm new password : pass2 Now, su - mqcdaostt is working for... (4 Replies)
Discussion started by: varungupta
4 Replies

9. HP-UX

How I Can Change The Password

I need change the password a two user. what're the commands to complete this requerement (4 Replies)
Discussion started by: bobangarcia
4 Replies

10. UNIX for Dummies Questions & Answers

Change password by pushing encrypted password to systems

I'm tasked to change a user's password on multiple Linux systems (RH v3). I though copying the encrypted password from one Linux /etc/shadow file to another would work but I was wrong. The long term solution is to establish an openLDAP Directory service, but for now I'm stuck with a manual... (1 Reply)
Discussion started by: benq70
1 Replies
Login or Register to Ask a Question