Boot the system to run level S by using the boot -s command.
ok boot -s |
Enter the superuser password when the following message is displayed.
INIT: SINGLE USER MODE Type Ctrl-d to proceed with normal startup, (or give root password for system maintenance): xxx |
Use the who -r command to verify that the system is at run level S.
# who -r . run-level 3 Jun 10 15:27 3 0 |
To bring the system up to multiuser state after the system maintenance task is performed, press Control-d.
The following example displays a system booted to run level S.
ok boot -s . . . SunOS Release 5.7 Version [UNIX(R) System V Release 4.0] Copyright (c) 1983-1998, Sun Microsystems, Inc. configuring network interfaces: le0. Hostname: mars INIT: SINGLE USER MODE Type Ctrl-d to proceed with normal startup, (or give root password for system maintenance): xxx Sun Microsystems Inc. SunOS 5.7 August 1998 # who -r . run-level S Jun 10 15:34 S 0 ? (Perform some maintenance task) # Press <Control-d> |