- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- how to login the single user mode
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-10-2002 04:17 AM
12-10-2002 04:17 AM
how to login the single user mode
I try to reboot the server to access the single mode, failed.
the situation is as below:
1.Enter the ten seconds interrupt,press enter
2.boot to the IPL mode,
3.IPL>hpux -is
<-----after waiting a few secons,return to the prompt of IPL
4.I try to use another command to boot to single user mode, still failed.
IPL>hpux -is boot(:0) /stand/vmunix
<---It returns as below
boot
:disc3(52.6.0;5) /stand/vmunix
disc3(52.6.0;5) /stand/vmunix:cannot open,or not execute
Exec failed:No such file or directory
IPL>>----NOT ACCESS TO SINGLE USE MODE,SO I cannot reset the root passward.
Could someone help me to give a solution?Thanks,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-10-2002 04:23 AM
12-10-2002 04:23 AM
Re: how to login the single user mode
Try using From The
MAin Menu> sea ipl
and once your system points out the Boot Path
boot using the same .. like
Main Menu> Bo Pn
wher n is the Boot Path No.
And go for Inteactive mode, And try from isl>hpux -is (and NOt from ipl)
Let Hope it wrks.
Good Luck
Asif
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-10-2002 05:02 AM
12-10-2002 05:02 AM
Re: how to login the single user mode
IPL> hpux -iS (capital s not the small s)
will take you into single user mode
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-10-2002 05:25 AM
12-10-2002 05:25 AM
Re: how to login the single user mode
and you restrict the login to single user mode
try to create a crush on your system,
then the system will reboot in a single user mode
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-10-2002 05:45 AM
12-10-2002 05:45 AM
Re: how to login the single user mode
Eugeny
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-10-2002 06:07 AM
12-10-2002 06:07 AM
Re: how to login the single user mode
I know few people outside of government service who actually do this. Physical access to the computer room needs to be controlled or you have no security anyway.
Steve
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-10-2002 07:52 AM
12-10-2002 07:52 AM
Re: how to login the single user mode
hpux -lm
mount /etc and /usr, then edit /etc/passwd. If a trusted system, edit /tcb/files/auth/r/root.
Remove the password from the line that looks something like this:
:u_pwd=UldaUadfdaI:
remove between the "=" and the ":"
UldaUadfdaI
HTH
Marty
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-10-2002 08:01 AM
12-10-2002 08:01 AM
Re: how to login the single user mode
ISL does exist on the disk you've BO'd from, (as you get prompt) so either you've hosed your / or /stand filesystem or the kernel.
hpux ll
will show if there is any bootable kernel file. If there is try booting from it.
Later,
Bill
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-10-2002 08:03 AM
12-10-2002 08:03 AM
Re: how to login the single user mode
do following:
ISL> hpux -lm
# vgchange -a y /dev/vg00
# lvlnboot -v /dev/vg00
If no boot logical volume configured do:
# lvnboot -b /dev/vg00/lvol1
# lvlnoot -Rv /dev/vg00
# mount /dev/vg00/lvol1 /stand
---> moved original kernel back in place !!!
# cd /
# shutdown -r 0
Best regards,
Armin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-11-2002 01:59 AM
12-11-2002 01:59 AM
Re: how to login the single user mode
If so, let it boot normally and *exactly* note down the line which looks *like*:
:disc3(52.6.0;5)/stand/vmunix
Then shutdown the system and reboot it to "ISL> ".
Now enter "hpux -is " (without quotes) and the line which you have noted down, but without the colon (":"), i.e. in the example the command would be:
ISL> hpux -is disc3(52.6.0;5)/stand/vmunix
The reason for this 'difficult' method is that if the default 'device file (see hpux(1M) manual page) is not set up correctly, you will have to specify the *full* device file ("disc3(52.6.0;5)/stand/vmunix " in the example).