Operating System - HP-UX
1830899 Members
2306 Online
110017 Solutions
New Discussion

root unable to change password of user

 
Mani Pushpanathan
Occasional Contributor

root unable to change password of user

When root tried to change password using
passwd user

The following error occurred:
"Password cannot be changed. Reason: Not allowed to execute passwd for the given
user."

Can't do it in sam as well. server hpux K460 on 10.2
7 REPLIES 7
Mark Grant
Honored Contributor

Re: root unable to change password of user

the following thread might be of interest to you with this one

http://forums1.itrc.hp.com/service/forums/parseCurl.do?CURL=%2Fcm%2FQuestionAnswer%2F1%2C%2C0x38436d608454114792e11d2e90a139db%2C00.html&admit=716493758+1068539548744+28353475
Never preceed any demonstration with anything more predictive than "watch this"
Geoff Wild
Honored Contributor

Re: root unable to change password of user

Try this link:

http://www1.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&admit=-682735245+1068614192066+28353475&docId=200000062950780


"This problem has been known to occur on systems
where the /tcb/files/auth/system/default file
for root had a duplicate password entry.
"

Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
T G Manikandan
Honored Contributor

Re: root unable to change password of user

bhavin asokan
Honored Contributor

Re: root unable to change password of user

pls check any unknown zero byte files are there in /etc folder.rename it.
Bruno Ganino
Honored Contributor

Re: root unable to change password of user

Edit /etc/passwd and verify the user specific.
MUST exist, NOT MUST to be Duplicate.
Bye
Torino (Turin) +2H
Sarvesh A Dhuri
Advisor

Re: root unable to change password of user

check passwd file with pwck command ,
I have been betrayed by our own People
bhavin asokan
Honored Contributor

Re: root unable to change password of user

i was having similar problem.it was due to
a file "ptmp" with zero bytes in /etc folder