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.8 Version Generic 32-bit Copyright (c) 1983-2000 by Sun Microsystems, Inc. configuring IPv4 interfaces: le0. Hostname: earth INIT: SINGLE USER MODE Type control-d to proceed with normal startup, (or give root password for system maintenance): xxx Sun Microsystems Inc. SunOS 5.8 generic August 1999 # who -r . run-level S Jul 14 11:37 S 0 ? (Perform some maintenance task) # Press <Control-d> |