Operating System - HP-UX
1748158 Members
4085 Online
108758 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
Solution

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
Helen French
Honored Contributor

Re: How to Change root password on trusted system?

Hi Piyush,

You can just issue 'passwd' command for that. Do you have any problems while doing that ? If yes, what is the error message ?

HTH,
Shiju
Life is a promise, fulfill it!
Sanjay Verma
Super Advisor

Re: How to Change root password on trusted system?

Hi Pap,

If you're modifying the password file, HP recommends to use only #vipw command.

For any specific steps, let me know.

Regards,
Sanjay
Co-operation - The biggest chain reaction
naveen_5
Occasional Advisor

Re: How to Change root password on trusted system?

Hi Piyush,

We can change root passwd
by just passwd root and then upadte with pwconv.I think this will do.As pwconv will automatically update /tcb/files/auth/r file

# passwd root
oldpasswd:
new passwd:
Re-enter new passwd:
#pwconv (imp)

Naveen
naveen
rajendran
Occasional Advisor

Re: How to Change root password on trusted system?

Hi,
can any one help me, i have issue the command by mistakenly pwconv and now i connot login to
the system.The password root also i cannot go
in.How can i over come this problem.
Please help me
rajen
see world is wonderfull
hannif
New Member

Re: How to Change root password on trusted system?

I have converted to trusted system.

Immediate after the conversion, I tried to change the password for root as below:

# passwd root
Changing password for root
Old password:
Sorry.
#

Please help.