Go to main content

マニュアルページ セクション 8: システム管理コマンド

印刷ビューの終了

更新: 2022年7月27日
 
 

sulogin(8)

名前

sulogin - access single-user mode

形式

sulogin 

説明

The sulogin utility is automatically invoked on console if the system is booted into single-user mode or if svc.startd(8) cannot start normally. It prompts the user to type a user name and password to enter system maintenance mode (single-user mode) or to type EOF (typically CTRL-D) for normal startup (multi-user mode). The user should never directly invoke sulogin. The user must have the solaris.system.maintenance authorization.

The sulogin utility can prompt the user to enter the root password on a variable number of serial console devices, in addition to the traditional console device. See consadm(8) and msglog(4D) for a description of how to configure a serial device to display the single-user login prompt.

ファイル

/etc/default/sulogin

Default value can be set for the following flag:

PASSREQ

Determines if login requires a password. The default is YES.

/etc/default/login

Default value can be set for the following flag:

SLEEPTIME

If present, sets the number of seconds to wait before login failure is printed to the screen and another login attempt is allowed. Default is 4 seconds. Minimum is 0 seconds. Maximum is 5 seconds.

Both su(8) and login(1) are also affected by the value of SLEEPTIME.

属性

See attributes(7) for descriptions of the following attributes:

ATTRIBUTE TYPE
ATTRIBUTE VALUE
Availability
system/core-os

関連項目

auths(1), login(1), msglog(4D), attributes(7), consadm(8), init(8), su(8)

By default, the root user has all authorizations.

Granting the solaris.system.maintenance authorization to the Console User Rights Profile may have an undesirable side effect of granting the currently logged in user maintenance mode access. The solaris.system.maintenance authorization should be directly granted to appropriate users rather than through the Console User Rights Profile.