3
3
.\" Generator: DocBook XSL Stylesheets v1.73.2 <http://docbook.sf.net/>
5
5
.\" Manual: System Management Commands
6
6
.\" Source: System Management Commands
8
.TH "SULOGIN" "8" "04/03/2008" "System Management Commands" "System Management Commands"
8
.TH "SULOGIN" "8" "04/15/2009" "System Management Commands" "System Management Commands"
9
9
.\" disable hyphenation
11
11
.\" disable justification (adjust text to left margin only)
23
23
command is invoked by
25
prior to allowing the user access to the system when in single user mode\. This feature may only be available on certain systems where
25
prior to allowing the user access to the system when in single user mode\&. This feature may only be available on certain systems where
27
27
has been modified accordingly, or where the
29
has an entry for a single user login\.
29
has an entry for a single user login\&.
31
31
The user is prompted
33
33
Type control\-d to proceed with normal startup,
34
34
(or give root password for system maintenance):
36
Input and output will be performed with the standard file descriptors unless the optional device name argument is provided\.
36
Input and output will be performed with the standard file descriptors unless the optional device name argument is provided\&.
38
If the user enters the correct root password, a login session is initiated\. When
38
If the user enters the correct root password, a login session is initiated\&. When
40
is pressed instead, the system enters multi\-user mode\.
40
is pressed instead, the system enters multi\-user mode\&.
42
42
After the user exits the single\-user shell, or presses
43
\fIEOF\fR, the system begins the initialization process required to enter multi\-user mode\.
43
\fIEOF\fR, the system begins the initialization process required to enter multi\-user mode\&.
46
46
This command can only be used if
51
51
\fI/bin/sh\fR, or if the user has set the
53
to support a single user login\. For example, the line:
53
to support a single user login\&. For example, the line:
55
55
co:s:respawn:/etc/sulogin /dev/console
57
should execute the sulogin command in single user mode\.
57
should execute the sulogin command in single user mode\&.
59
As complete an environment as possible is created\. However, various devices may be unmounted or uninitialized and many of the user commands may be unavailable or nonfunctional as a result\.
59
As complete an environment as possible is created\&. However, various devices may be unmounted or uninitialized and many of the user commands may be unavailable or nonfunctional as a result\&.
60
60
.SH "CONFIGURATION"
62
62
The following configuration variables in
63
\fI/etc/login\.defs\fR
63
\fI/etc/login\&.defs\fR
64
64
change the behavior of this tool:
66
66
\fBENV_HZ\fR (string)
68
If set, it will be used to define the HZ environment variable when a user login\. The value must be preceded by
69
\fIHZ=\fR\. A common value on Linux is
68
If set, it will be used to define the HZ environment variable when a user login\&. The value must be preceded by
69
\fIHZ=\fR\&. A common value on Linux is
73
73
\fBENV_TZ\fR (string)
75
If set, it will be used to define the TZ environment variable when a user login\. The value can be the name of a timezone preceded by
75
If set, it will be used to define the TZ environment variable when a user login\&. The value can be the name of a timezone preceded by
78
78
\fITZ=CST6CDT\fR), or the full path to the file containing the timezone specification (for example
81
81
If a full path is specified but the file does not exist or cannot be read, the default is to use
88
User account information\.
88
User account information\&.
93
Secure user account information\.
93
Secure user account information\&.