System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

change of root password in trusted mode

 
SOLVED
Go to solution
Highlighted

change of root password in trusted mode

Hi,
I have converted HP-UX 11.11 in trusted system,
after that I try to change password for root.
Passwd ask for old password, I fill it correct, but passwd answer Sorry.

Thanks for advantages.
Regards
Frantisek.
14 REPLIES 14
Highlighted
Honored Contributor
Solution

Re: change of root password in trusted mode

try this

/usr/lbin/modprpw -k root
Highlighted
Honored Contributor

Re: change of root password in trusted mode

Hi,

# cd /tcb/files/auth/r/

and then delete the actual encrypted password from the root file.

Robert-Jan.
Honored Contributor

Re: change of root password in trusted mode

cd /tcb/files/auth/r and vi the root file and remove the old password, save it, and now you can set a new one.
Im from Palmerston North, New Zealand, but somehow ended up in London...
Highlighted
Honored Contributor

Re: change of root password in trusted mode

try using /sbin/passwd instead of using /usr/bin/passwd

Regards
Rainer
He's a real UNIX Man, sitting in his UNIX LAN making all his UNIX plans for nobody ...
Highlighted
Honored Contributor

Re: change of root password in trusted mode

If the old root password is more than 8 characters long, type in only the first 8.
Highlighted

Re: change of root password in trusted mode

Thats the point,
Thanks for help.
Frantisek.
Highlighted
Honored Contributor

Re: change of root password in trusted mode

Tom has nailed it - ONLY type in the first 8 chars - that's all that was transferred to /tcb....

Moral - ALWAYS keep TWO windows for root when converting. Then you have a window to reset root PW.

Rgds,
Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!
Highlighted
Exalted Contributor

Re: change of root password in trusted mode

I had this earlier THIS week.

1) If it lets you log on the console, issue the passwd command there.

2) Follow this procedure to null out the root password and then issue the command.

HP: Do we have a bug here. My keystroke law shows NOBODY ran the passwd command on root.


Solution:
http://search.hp.com/redirect.html?url=http%3A//forums.itrc.hp.com/cm/QuestionAnswer/1,,0x751fb941255cd71190080090279cd0f9,00.html&qt=null+%2Bpassword+%2Btrusted+%2Bsystem+%2Broot&hit=1


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
Highlighted
Honored Contributor

Re: change of root password in trusted mode

Hi SEP,

No I wouldn't call it a bug.
It's more of a senselessly rigid rule.
M$ would call it a "feature".
ONLY the first 8 chars are converted & xferred to /tcb...
BUT the login binary WILL eval ALL chars typed in the PW field & that will NOT match the actual PW field post-conversion. But the first 8 chars WILL.

Rgds,
Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!