xref: /illumos-gate/usr/src/man/man8/sulogin.8 (revision bbf21555)
te
Copyright 1989 AT&T Copyright (c) 2008 Sun Microsystems, Inc. All Rights Reserved.
The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License.
You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing. See the License for the specific language governing permissions and limitations under the License.
When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
SULOGIN 8 "Aug 21, 2008"
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.

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.

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.