1840528 Members
2677 Online
110165 Solutions
New Discussion

Single User Login

 
Serge Uranie
Occasional Contributor

Single User Login

Can anyone please tell me how I can start the server in such a way that only one user (say ROOT) can log on the server

Thanks
Feel the tropical climate
4 REPLIES 4
Denver Osborn
Honored Contributor

Re: Single User Login

Take a look at this thread, it has great responses that should answer your question.

http://my1.itrc.hp.com/cm/QuestionAnswer/1,1150,0x2a717e990647d4118fee0090279cd0f9,00.html

Re: Single User Login

For Single User you need reboot system.
Is correct?

Then you have to do the following steps
0. Boot the system
1. Stop Boot
2. In Main Menu, Boot from primary disk (bo pri)
3. Interact with IPL (Y)
4. In promp ISL, type
ISL> hpux -is
5. You are in Single User Mode

6. Good lock

CGRC
Rick Garland
Honored Contributor

Re: Single User Login

To get into the 'true' single user mode, you will need to reboot and interact with the ISL, giving it the 'hpux -is' command.

You can do 'init 1' at the prompt but you will find that FSs are still mounted, networking is still working, etc...
Rainer_1
Honored Contributor

Re: Single User Login

Edit /etc/inittab:
search the line with 'initdefault'
and change there:
id:3:inittab
to
id:1:inittab
Your box will boot with init 1