Operating System - HP-UX
1834150 Members
2419 Online
110064 Solutions
New Discussion

How to reach shell in single user mode !!

 
Prashant Bahuguna
Occasional Advisor

How to reach shell in single user mode !!

Hi,
Recently, I read a case in this forum where you lose your passwd / shadow files and cant login. Is there some way to login without these files ? I read that there is a way to get to the shell in single user mode, but how exactly ? Need your help.......

Thanks and warm regards.
PB.
2 REPLIES 2
MarkSyder
Honored Contributor

Re: How to reach shell in single user mode !!

Boot your server and interrupt the boot when prompted. Then:

bo pri
interact with IPL: yes
hpux -is

This works for 11.11 and earlier.

Mark Syder (like the drink but spelt different)
The triumph of evil requires only that good men do nothing
Prashant Bahuguna
Occasional Advisor

Re: How to reach shell in single user mode !!

Thanks Mark,

PB.