Initial commit for Tizen
[profile/extras/shadow-utils.git] / man / pl / sulogin.8
1 '\" t
2 .\"     Title: sulogin
3 .\"    Author: [FIXME: author] [see http://docbook.sf.net/el/author]
4 .\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
5 .\"      Date: 02/16/2011
6 .\"    Manual: Polecenia Zarządzania Systemem
7 .\"    Source: Polecenia Zarządzania Systemem
8 .\"  Language: Polish
9 .\"
10 .TH "SULOGIN" "8" "02/16/2011" "Polecenia Zarządzania Systemem" "Polecenia Zarządzania Systemem"
11 .\" -----------------------------------------------------------------
12 .\" * Define some portability stuff
13 .\" -----------------------------------------------------------------
14 .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
15 .\" http://bugs.debian.org/507673
16 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
17 .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
18 .ie \n(.g .ds Aq \(aq
19 .el       .ds Aq '
20 .\" -----------------------------------------------------------------
21 .\" * set default formatting
22 .\" -----------------------------------------------------------------
23 .\" disable hyphenation
24 .nh
25 .\" disable justification (adjust text to left margin only)
26 .ad l
27 .\" -----------------------------------------------------------------
28 .\" * MAIN CONTENT STARTS HERE *
29 .\" -----------------------------------------------------------------
30 .SH "NAZWA"
31 sulogin \- Single\-user login
32 .SH "SK\(/LADNIA"
33 .PP
34 \fBsulogin\fR
35 [\fItty\-device\fR]
36 .SH "OPIS"
37 .PP
38 The
39 \fBsulogin\fR
40 command is invoked by
41 \fBinit\fR
42 prior to allowing the user access to the system when in single user mode\&. This feature may only be available on certain systems where
43 \fBinit\fR
44 has been modified accordingly, or where the
45 /etc/inittab
46 has an entry for a single user login\&.
47 .PP
48 The user is prompted
49 .PP
50 Type control\-d to proceed with normal startup, (or give root password for system maintenance):
51 .PP
52 Input and output will be performed with the standard file descriptors unless the optional device name argument is provided\&.
53 .PP
54 If the user enters the correct root password, a login session is initiated\&. When
55 \fIEOF\fR
56 is pressed instead, the system enters multi\-user mode\&.
57 .PP
58 After the user exits the single\-user shell, or presses
59 \fIEOF\fR, the system begins the initialization process required to enter multi\-user mode\&.
60 .SH "OSTRZEŻENIA"
61 .PP
62 This command can only be used if
63 \fBinit\fR
64 has been modified to call
65 \fBsulogin\fR
66 instead of
67 /bin/sh, or if the user has set the
68 \fIinittab\fR
69 to support a single user login\&. For example, the line:
70 .PP
71 co:s:respawn:/etc/sulogin /dev/console
72 .PP
73 should execute the sulogin command in single user mode\&.
74 .PP
75 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\&.
76 .SH "CONFIGURATION"
77 .PP
78 The following configuration variables in
79 /etc/login\&.defs
80 change the behavior of this tool:
81 .PP
82 \fBENV_HZ\fR (string)
83 .RS 4
84 If set, it will be used to define the HZ environment variable when a user login\&. The value must be preceded by
85 \fIHZ=\fR\&. A common value on Linux is
86 \fIHZ=100\fR\&.
87 .RE
88 .PP
89 \fBENV_TZ\fR (string)
90 .RS 4
91 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
92 \fITZ=\fR
93 (for example
94 \fITZ=CST6CDT\fR), or the full path to the file containing the timezone specification (for example
95 /etc/tzname)\&.
96 .sp
97 If a full path is specified but the file does not exist or cannot be read, the default is to use
98 \fITZ=CST6CDT\fR\&.
99 .RE
100 .SH "PLIKI"
101 .PP
102 /etc/passwd
103 .RS 4
104 Informacja o kontach użytkownik\('ow\&.
105 .RE
106 .PP
107 /etc/shadow
108 .RS 4
109 Informacje chronione o użytkownikach\&.
110 .RE
111 .SH "ZOBACZ TAKŻE"
112 .PP
113
114 \fBlogin\fR(1),
115 \fBsh\fR(1),
116 \fBinit\fR(8)\&.