Operating System - HP-UX
1834931 Members
2578 Online
110071 Solutions
New Discussion

cannot change root password

 
SOLVED
Go to solution
Ionut Grigorescu_2
Super Advisor

cannot change root password

Hi,

I have tried to change the root password on my system (HPUX11.00). Im logged in as root and when I type passwd I got
New password:
Re-enter new password:
than
unexpected failure.password file unchanged - what can I do?

cheers, ionut
If it weren't for STRESS I'd have no energy at all
4 REPLIES 4
Steven E. Protter
Exalted Contributor
Solution

Re: cannot change root password

Is the / root filesystem full? On 11.00 this can cause the /etc/passwd file to get zeroed out or not accept changes.


try pwck command

pwck


This could reveal a problem.

This post elaborates on the issue.

http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x21a703bbece8d5118ff40090279cd0f9,00.html

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Pete Randall
Outstanding Contributor

Re: cannot change root password

Ionut,

Is this system Trusted?


Pete


Pete
blal
Frequent Advisor

Re: cannot change root password


Hi

Are u running trusted system. If so run "pwconv" then run passwd command.

regds.
baiju


Live and let live.
Ionut Grigorescu_2
Super Advisor

Re: cannot change root password

Thank you - case closed.

There were some old users without home directory. I have deleted these users and now is OK.
If it weren't for STRESS I'd have no energy at all