Operating System - HP-UX
1829265 Members
7536 Online
109988 Solutions
New Discussion

How to Change root password on trusted system?

 
SOLVED
Go to solution
pap
Respected Contributor

How to Change root password on trusted system?

I have HP 11.0 and it is a trusted system. I want to change root password on it. Please let me know how should I cange it.

-Piyush.
"Winners don't do different things , they do things differently"
6 REPLIES 6
Craig Rants
Honored Contributor

Re: How to Change root password on trusted system?

Do you know the old password? If so just use the passwd command.

If not, vi the /tcb/auth/files/r/root file

remove the hash code between = and : , i.e..
:u_pwd=fBX819fJCbb2w::u_pwd=:
Then use the passwd command.

Becareful editing that file, be very careful.

GL,
C

"In theory, there is no difference between theory and practice. But, in practice, there is. " Jan L.A. van de Snepscheut
Rusty Sapper
Frequent Advisor

Re: How to Change root password on trusted system?

I think the set_parms will work under a trusted system.

try #set_parms root_passwd



HTH

-Rusty
Darrell Allen
Honored Contributor
Solution

Re: How to Change root password on trusted system?

Hi Piyush,

You change the root password on a trusted system just as you would on a non-trusted system. The hashed password just happens to be stored in /tcb/auth/files/r/root instead of in /etc/passwd.

Darrell
"What, Me Worry?" - Alfred E. Neuman (Mad Magazine)
jasper_2
Occasional Advisor

Re: How to Change root password on trusted system?

Hi,

you can change it using SAM the behavior differs on how the hardening was implemented.

thanks.
the chose is yours, we are the product of the choices we make...
Jeffrey S. Sims
Trusted Contributor

Re: How to Change root password on trusted system?

You just use the passwd command. On a trusted system you have a few options as to how you want your password (generated from characters, random letters or you pick it). Other than that it is identical to a non-trusted system.
donne007
Regular Advisor

Re: How to Change root password on trusted system?

Hi
You can also do the other way from the console logging a single user
# /usr/bin/modprpw - k root
this 'll reset the passwd or

# /usr/sam/lbin/usermod.sam -f -P "" root
this 'll reset the passwd to plain passwd

or the other way is to convert the trusted system to an untrested system
# tsconvert -r
0r # /usr/lbin/tsconvert -r

hope this 'll solve your prblms


Thanx