The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Advanced & Expert Users
Google UNIX.COM


UNIX for Advanced & Expert Users Advanced UNIX and Linux questions go here. Expert-to-Expert.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
how to change password? ipzig Post Here to Contact Site Administrators and Moderators 6 05-27-2008 04:15 AM
change password ?? varungupta UNIX for Advanced & Expert Users 4 03-03-2008 01:25 PM
How I Can Change The Password bobangarcia HP-UX 4 10-06-2005 11:06 PM
Change password by pushing encrypted password to systems benq70 UNIX for Dummies Questions & Answers 1 09-02-2005 06:08 AM
Force to change to a different password champion UNIX for Advanced & Expert Users 3 01-16-2003 10:01 AM

Closed Thread
 
Submit Tools LinkBack Thread Tools Display Modes
  #1  
Old 10-13-2003
Registered User
 

Join Date: Mar 2002
Location: London, England
Posts: 262
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
Forum Sponsor
  #2  
Old 10-13-2003
davidg's Avatar
Registered User
 

Join Date: Jul 2003
Location: Holland
Posts: 207
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
Registered User
 

Join Date: Mar 2002
Location: London, England
Posts: 262
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
davidg's Avatar
Registered User
 

Join Date: Jul 2003
Location: Holland
Posts: 207
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
Registered User
 

Join Date: Mar 2002
Location: London, England
Posts: 262
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
davidg's Avatar
Registered User
 

Join Date: Jul 2003
Location: Holland
Posts: 207
Hhm, and if you run truss as root and then change a users passwd.
So :

# passwd user1

Regs David
  #7  
Old 10-13-2003
davidg's Avatar
Registered User
 

Join Date: Jul 2003
Location: Holland
Posts: 207
Please do a man on "yppasswdd" Yes indeed two dees

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

Regs David
Google The UNIX and Linux Forums
Closed Thread

Tags
solaris

Thread Tools
Display Modes




All times are GMT -7. The time now is 12:59 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0