System Administration Guide: Basic Administration

ProcedureHow to Shut Down a Stand-Alone System

Use this procedure when you need to shut down a stand-alone system.

  1. Become superuser or assume an equivalent role.

    Roles contain authorizations and privileged commands. For more information about roles, see Configuring RBAC (Task Map) in System Administration Guide: Security Services.

  2. Shut down the system.

    # init 5

    For more information, see the init(1M) man page.

    • Alternately, you can use the uadmin command to shut down the system.

      # uadmin 2 0
    • If you have an x86 based system that is running at least the Solaris 10 6/06 release, you can press and release the power button to initiate a clean system shutdown and turn off the system.

      This functionality is equivalent to using the init 5 command to shut down a system. For more information, see What's New in Shutting Down and Booting a System.

  3. Use the following table to verify that the system is at the run level that you specified in the init command.

    Specified Run Level 

    SPARC Based System Prompt 

    x86 Based System Prompt 

    S (single-user level) 



    2 (multiuser level) 



    0 (power-down level) 

    ok or >

    Press any key to reboot

    3 (multiuser level with NFS resources shared) 

    hostname console login:

    hostname console login:

Example 10–5 Using the uadmin command to Shut Down a System

# uadmin 2 0
syncing file systems... done
Program terminated

Example 10–6 Bringing a Stand-Alone System to Run Level 0

In this example, the init command is used to bring an x86 based stand-alone system to the level where it is safe to turn off power.

# init 0
INIT: New run level: 0
The system is coming down.  Please wait.
The system is down.
syncing file systems... [11] [10] [3] done
Press any key to reboot

If you are bringing the system to run level 0 to turn off power to all devices, see How to Turn Off Power to All Devices.

Example 10–7 SPARC: Bringing a Stand-Alone System to Run Level S

In this example, the init command is used to bring a SPARC based stand-alone system to run level S (single-user level).

# init s
INIT: New run level: S
The system is coming down for administration.  Please wait.
Unmounting remote filesystems: /vol nfs done.
Print services stopped.
syslogd: going down on signal 15
Killing user processes: done. 


Root password for system maintenance (control-d to bypass): xxxxxx
single-user privilege assigned to /dev/console.
Entering System Maintenance Mode

See Also

Regardless of why you shut down the system, you will probably want to return to run level 3, where all file resources are available, and users can log in. For instructions on bringing a system back to a multiuser level, see Chapter 12, Booting an Oracle Solaris System (Tasks).