3
3
.\" Generator: DocBook XSL Stylesheets v1.73.2 <http://docbook.sf.net/>
5
5
.\" Manual: Команды управления системой
6
6
.\" Source: Команды управления системой
8
.TH "sulogin" "8" "04/03/2008" "Команды управления системой" "Команды управления системой"
8
.TH "sulogin" "8" "04/15/2009" "Команды управления системой" "Команды управления системой"
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, (or give root password for system maintenance):
35
Input and output will be performed with the standard file descriptors unless the optional device name argument is provided\.
35
Input and output will be performed with the standard file descriptors unless the optional device name argument is provided\&.
37
If the user enters the correct root password, a login session is initiated\. When
37
If the user enters the correct root password, a login session is initiated\&. When
39
is pressed instead, the system enters multi\-user mode\.
39
is pressed instead, the system enters multi\-user mode\&.
41
41
After the user exits the single\-user shell, or presses
42
\fIEOF\fR, the system begins the initialization process required to enter multi\-user mode\.
42
\fIEOF\fR, the system begins the initialization process required to enter multi\-user mode\&.
43
43
.SH "ПРЕДОСТЕРЕЖЕНИЯ"
45
45
This command can only be used if
50
50
\fI/bin/sh\fR, or if the user has set the
52
to support a single user login\. For example, the line:
52
to support a single user login\&. For example, the line:
54
54
co:s:respawn:/etc/sulogin /dev/console
56
should execute the sulogin command in single user mode\.
56
should execute the sulogin command in single user mode\&.
58
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\.
58
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
59
.SH "CONFIGURATION"
61
61
The following configuration variables in
62
\fI/etc/login\.defs\fR
62
\fI/etc/login\&.defs\fR
63
63
change the behavior of this tool:
65
65
\fBENV_HZ\fR (string)
67
If set, it will be used to define the HZ environment variable when a user login\. The value must be preceded by
68
\fIHZ=\fR\. A common value on Linux is
67
If set, it will be used to define the HZ environment variable when a user login\&. The value must be preceded by
68
\fIHZ=\fR\&. A common value on Linux is
72
72
\fBENV_TZ\fR (string)
74
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
74
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
77
77
\fITZ=CST6CDT\fR), or the full path to the file containing the timezone specification (for example
80
80
If a full path is specified but the file does not exist or cannot be read, the default is to use