HPE Community read-only access December 15, 2018
This is a maintenance upgrade. You will be able to read articles and posts, but not post or reply.
Hours:
Dec 15, 4:00 am to 10:00 am UTC
Dec 14, 10:00 pm CST to Dec 15, 4:00 am CST
Dec 14, 8:00 pm PST to Dec 15, 2:00 am PST
cancel
Showing results for 
Search instead for 
Did you mean: 

Root password change !

 
SOLVED
Go to solution
titu
Regular Advisor

Root password change !

Hi all ,

when I am trying to change the root password and going in to single user mode getting this error message :

INIT:overriding with default level with 's'

please help on this.

Thanks in advance

titu
5 REPLIES
Steven E. Protter
Exalted Contributor

Re: Root password change !

Shalom


bo
Y on the interact question:
hpux -is


passwd

Change it.

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
titu
Regular Advisor

Re: Root password change !

When i am trying to boot in single user mode using this option

# hpux -is

after sometime during boot process it give me this message:

INIT:overriding with default level with 's'

Ganesan R
Honored Contributor
Solution

Re: Root password change !

Hi,

It is not error message. It is information only. You can go ahead and change the password after booting into single user mode.
Best wishes,

Ganesh.
Steven E. Protter
Exalted Contributor

Re: Root password change !

Shalom again,

You are in single user mode.

Run the passwd command.

Done.

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
Mel Burslan
Honored Contributor

Re: Root password change !

Look at the first line of your /etc/inittab file. You will see something like this:

init:3:initdefault:

when you see the message "overriding with default level with 's'", it is basically telling you that "you might be expecting to go to run-level 3 but instead I am going into run-level 's' as you requested (s=single user).

So, you are good to go. Even after booting into the single user mode, you are getting asked password, you might be out of luck and have to restore the OS to gain root access, short of trying third party tools.

Good luck.
________________________________
UNIX because I majored in cryptology...