Operating System - HP-UX
1833445 Members
3188 Online
110052 Solutions
New Discussion

How to Change Root password

 
rana sarkar
Advisor

How to Change Root password

Hie I have restored the ignite backup of a old system to a new parisc box. I have forgot the root passwd of the old system hence i am not able to log in via root.
I rebooted the server and entered hpux -is. But passwd at runlevel 1 is prompting for old password.
how can change the root passwd.
7 REPLIES 7
OldSchool
Honored Contributor

Re: How to Change Root password

ignite....and password recovery.

you would be better off in the hpux sysadmin forum, not dataprotector.

forum search for "root password" under HPUX -> system administration returns lots of info.

is the system trusted?. You tried logging in at console?
likid0
Honored Contributor

Re: How to Change Root password

Hy,

This is what I use:

boot in single user, then:

#/usr/sam/lbin/usermod.sam -F -p "" root

then change the passwd it won't ask for the old one:

#passwd

Windows?, no thanks
Md. Farhan A Azam
Trusted Contributor

Re: How to Change Root password

Hi,

First check that your server is in trusted mode or not.

If yes then unconvert the system from trusted to untrusted, then try.

#passwd root

Hope it will you.

Thnx...Farhan

Steven E. Protter
Exalted Contributor

Re: How to Change Root password

Shalom,

Boot to a prompt from the console.

bo
hpux -is

passwd root (after boot)

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
rana sarkar
Advisor

Re: How to Change Root password

Yaah,

The problem was that the system was trusted one. Unconverting it worked.
Md. Farhan A Azam
Trusted Contributor

Re: How to Change Root password

Hi,

Please assign some points who give there valuable time for your problem.

To know how to assign points please go through the below link.

http://forums13.itrc.hp.com/service/forums/helptips.do?#33

Thnx...Farhan
Suraj K Sankari
Honored Contributor

Re: How to Change Root password

Hi,

Boot your box into single user mode then change the passwd

#passwd root

Suraj