Operating System - HP-UX
1837970 Members
2664 Online
110124 Solutions
New Discussion

Re: Changng root password on trusted system

 
David Rodman_2
Occasional Advisor

Changng root password on trusted system

I converted to a trusted system recently and now
I can't change the root password. Sam lets me change
any other password but fails on root. At the command
line, passwd fails with "sorry".
HPUX - 11.00
The root account is not locked as I can still log in
under the old password.
Very confused...???
6 REPLIES 6
Evan Day_1
Frequent Advisor

Re: Changng root password on trusted system

Try running passwd from the command line while signed on as root:

# passwd root

This should work.
David Rodman_2
Occasional Advisor

Re: Changng root password on trusted system

No, been tried.
# passwd root
Changing password for root
Old password:
Sorry.
#

And it is not that I forgot the password cause I still
login with it.
I have the same problem on two machines
I figure it must be a bug, or something in my security policies.

Any more ideas?
Agung Anom
New Member

Re: Changng root password on trusted system

tried to use SAM
- select Account for users and group
- Go Actions & Modify user's password
David Rodman_2
Occasional Advisor

Re: Changng root password on trusted system

Nope.. Been to SAM, done that. As the original post
says, I can change other users but not root.
Judith Mcdonald
New Member

Re: Changng root password on trusted system

If your password is greater than 8 characters, then this is a known issue on
HPUX 11.

The login command will accept your long password, but the passwd command will
not.

You should be able to chnage your password by only entering the first 8
characters at the passwd change prompt.

This problem only occurs for the first password change per user after
converting to a trusted system.
David Rodman_2
Occasional Advisor

Re: Changng root password on trusted system

You may have been right, the original root password
was 9 chars when I changed to a trusted system.

However - HP Support had me use their undocumented
routines in the /usr/lbin .

what did the trick was
#/usr/sam/lbin/usermod.sam -F -p "" root
#passwd

This cleared and reset the root password.