Operating System - HP-UX
1833887 Members
1766 Online
110063 Solutions
New Discussion

How to enable Disabled root account

 
SOLVED
Go to solution
Deepak Kumar Mantry
Occasional Contributor

How to enable Disabled root account

How to enable Disabled root account on HP-UX .
5 REPLIES 5
Hoang Chi Cong_1
Honored Contributor
Solution

Re: How to enable Disabled root account

Hi


In normal case, can enable the root account by go to single user mode:

#shutdown -ry 0
Waiting for interruption during booting time.
Then boot interactive with ISL
ISL> hpux -is

#passwd
---->change the root password.

Here is good thread:
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=637604


Goodluck!
Regard,
Hoang Chi Cong
Looking for a special chance.......
Hoang Chi Cong_1
Honored Contributor

Re: How to enable Disabled root account

Forgot it...
Is your system is trusted system?
Have you tried to login with console login?
If you can still login with console, use this command:
/usr/lbin/modprpw -k root

Goodluck!
Regard,
Hoang Chi Cong
Looking for a special chance.......
Hoang Chi Cong_1
Honored Contributor

Re: How to enable Disabled root account

Forgot it...
Is your system in trusted system?
Have you tried to login with console login?
If you can still login with console, use this command:
/usr/lbin/modprpw -k root

Goodluck!
Regard,
Hoang Chi Cong
Looking for a special chance.......
Sยภเl Kย๓คг
Respected Contributor

Re: How to enable Disabled root account

Hi
You can disable the root login, but it is not advisable, especially if your system is in trusted mode.

I feel u need to disable the direct root login, can u clarify the same.
If you want to disable the direct root login edit the /etc/securetty and put the enry
'/dev/console' and also you need to put an entry for the 'sudo root group name' in /etc/default/security file..

Revert with your actual requirements, so that we will be in a better position to help you

regards,
SK
Your imagination is the preview of your life's coming attractions
Deepak Kumar Mantry
Occasional Contributor

Re: How to enable Disabled root account

Thanks all,

I have solved my problem