Operating System - HP-UX
1834425 Members
2027 Online
110067 Solutions
New Discussion

Re: 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.