- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: how many ways to go to 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
08-21-2000 12:34 PM
08-21-2000 12:34 PM
how many ways to go to single user mode?
I know we can do:
/reboot/interrupt/bo pri/hpux -is
Can we do init 1, or shutdown to go to single user mode?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-21-2000 12:40 PM
08-21-2000 12:40 PM
Re: how many ways to go to single user mode?
For example shutting down to single user mode will almost certainly leave /var busy (probably in use by init) whereas booting up will always leave it mounted.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-21-2000 12:41 PM
08-21-2000 12:41 PM
Re: how many ways to go to single user mode?
Tony
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-21-2000 12:43 PM
08-21-2000 12:43 PM
Re: how many ways to go to single user mode?
#shutdown
Also init -s or init -S is doing the same thing.
If you interrupt the boot process (after reboot or shutdown, or at initial load after the box has been halted), you can get single user mod if you boot in lvm maintenance mode: hp-ux -lm
If you are going to execute all K scripts from /sbin/rc3.d, /sbin/rc2.d you are going to get the same thing. Same if using kill command but I do not think is professional.
Also, you can design your own scripts and have edit /etc/inittab....
Could be other ways as well, depends on your imagination...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-21-2000 12:48 PM
08-21-2000 12:48 PM
Re: how many ways to go to single user mode?
And the shutdown that is bringing your machine to single user mode is, as I said:
#shutdown
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-21-2000 12:59 PM
08-21-2000 12:59 PM
Re: how many ways to go to single user mode?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-21-2000 01:04 PM
08-21-2000 01:04 PM
Re: how many ways to go to single user mode?
Tony
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-21-2000 06:55 PM
08-21-2000 06:55 PM
Re: how many ways to go to single user mode?
shutdown -y 0
because single user means all the filesystems except /stand and / should be unmounted.