Solaris のシステム管理 (第 1 巻)

SPARC: システムを実行レベル S (シングルユーザー状態) にする方法

  1. boot -s コマンドを使って、システムを実行レベル S にします。


    ok boot -s
    
  2. 次のメッセージが表示されたら、スーパーユーザーのパスワードを入力します。


    INIT: SINGLE USER MODE
    Type Ctrl-d to proceed with normal startup,
     
    (or give root password for system maintenance):  xxx
    
  3. who -r コマンドを使って、システムが実行レベル S になっていることを確認します。


    # who -r
    .       run-level S        May  2 07:39     3      0  S
  4. システム保守作業の後に、システムをマルチユーザー状態にするには、Control-d を押します。

SPARC: 例 - システムを実行レベル S (マルチユーザー状態) にする

次に、実行レベル 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  ?
(システム保守作業を行う)
# <Control-d> を押す