Go to main content

man pages section 8: System Administration Commands

Exit Print View

Updated: Thursday, June 13, 2019
 
 

sulogin(8)

Name

sulogin - access single-user mode

Synopsis

sulogin 

Description

The sulogin utility is automatically invoked by init when the system is first started. 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.

Files

/etc/default/sulogin

Default value can be set for the following flag:

PASSREQ

Determines if login requires a password. Default is PASSREQ=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 affected by the value of SLEEPTIME.

Attributes

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

ATTRIBUTE TYPE
ATTRIBUTE VALUE
Availability
system/core-os

See Also

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

Notes

By default, the root user has all authorizations.

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.