1753937 Members
9684 Online
108811 Solutions
New Discussion юеВ

Password file unchanged

 
SOLVED
Go to solution
praveen..
Super Advisor

Password file unchanged

Hi,
i need to change my root password.
but everytime i am getting this error.

# passwd
Old password:
Changing password for root
New password:
Re-enter new password:
Unexpected failure. Password file unchanged. Recommend running pwck command.
7 REPLIES 7
Arunvijai_4
Honored Contributor
Solution

Re: Password file unchanged

Hi Praveen,

Check the permission on /etc/passwd also, run #pwck -l

-Arun
"A ship in the harbor is safe, but that is not what ships are built for"
rariasn
Honored Contributor

Re: Password file unchanged

Hi praveen,

if trusthed system,

# authck -p

rgs,
ran
praveen..
Super Advisor

Re: Password file unchanged

i run these commands , and i changed the root password:

#pwck -l
#passwd

it works
El chupacambra
Occasional Advisor

Re: Password file unchanged

hi,
i am having the same error as you please see:
nodea#pwck -l
...
...
System is not in trusted mode
nodea# passwd
Changing password for root
New password:
Re-enter new password:
Unexpected failure. Password file unchanged.
nodea#

does anyone knows how to fix this?
thnx
El chupacambra
Occasional Advisor

Re: Password file unchanged

forgot the permissions:
-r--r--r--
thanks
akil-al
Advisor

Re: Password file unchanged

hi,
try to change with SAM. if the problem persists then check the sam logs:
/var/sam/log/samlog
there is a utility
/usr/sam/bin/samlog_viewer
(to view the logs)

El chupacambra
Occasional Advisor

Re: Password file unchanged

I tried SAM.I got this sam log:
executing passwd -r files .....
....
command completed with exit status 2139069376

Does anyone knows what is this?
BR