3 .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author]
4 .\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
6 .\" Manual: Polecenia Zarządzania Systemem
7 .\" Source: Polecenia Zarządzania Systemem
10 .TH "USERMOD" "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 .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
20 .\" -----------------------------------------------------------------
21 .\" * set default formatting
22 .\" -----------------------------------------------------------------
23 .\" disable hyphenation
25 .\" disable justification (adjust text to left margin only)
27 .\" -----------------------------------------------------------------
28 .\" * MAIN CONTENT STARTS HERE *
29 .\" -----------------------------------------------------------------
31 usermod \- zmiana danych konta użytkownika
33 .HP \w'\fBusermod\fR\ 'u
34 \fBusermod\fR [\fIopcje\fR] \fILOGIN\fR
39 zmienia systemowe pliki kont, odzwierciedlając zmiany podane w wierszu poleceń\&.
44 posiada następujące opcje:
46 \fB\-a\fR, \fB\-\-all\fR
48 Add the user to the supplementary group(s)\&. Use only with the
53 \fB\-c\fR, \fB\-\-comment\fR\fIKOMENTARZ\fR
55 Nowa wartość pola komentarza dla danego użytkownika w pliku hase\(/l\&. Zwykle jest zmieniana przy pomocy polecenia
59 \fB\-d\fR, \fB\-\-home\fR\fIKAT_DOMOWY\fR
61 The user\*(Aqs new login directory\&.
65 option is given, the contents of the current home directory will be moved to the new home directory, which is created if it does not already exist\&.
68 \fB\-e\fR, \fB\-\-expiredate\fR\fIDATA_WAŻN\fR
70 Data, od kt\('orej konto danego użytkownika zostanie wy\(/lączone\&. Data podawana jest w formacie
74 \fB\-f\fR, \fB\-\-inactive\fR\fINIEAKTYWNE\fR
76 The number of days after a password expires until the account is permanently disabled\&.
78 A value of 0 disables the account as soon as the password has expired, and a value of \-1 disables the feature\&.
81 \fB\-g\fR, \fB\-\-gid\fR\fIGRUPA\fR
83 The group name or number of the user\*(Aqs new initial login group\&. The group must exist\&.
86 \fB\-G\fR, \fB\-\-groups\fR\fIGRUPA1\fR[\fI,GRUPA2,\&.\&.\&.\fR[\fI,GRUPAN\fR]]]
88 A list of supplementary groups which the user is also a member of\&. Each group is separated from the next by a comma, with no intervening whitespace\&. The groups are subject to the same restrictions as the group given with the
92 If the user is currently a member of a group which is not listed, the user will be removed from the group\&. This behaviour can be changed via the
94 option, which appends the user to the current supplementary group list\&.
97 \fB\-l\fR, \fB\-\-login\fR\fINOWY_LOGIN\fR
99 The name of the user will be changed from
102 \fINEW_LOGIN\fR\&. Nothing else is changed\&. In particular, the user\*(Aqs home directory name should probably be changed manually to reflect the new login name\&.
105 \fB\-L\fR, \fB\-\-lock\fR
107 Zablokuj has\(/lo użytkownika\&. Opcja ta powoduje wstawienie \(cq!\(cq na początku zakodowanego has\(/la\&. Opcji tej nie można używać z opcjami
112 Note: if you wish to lock the account (not only access with a password), you should also set the
118 \fB\-m\fR, \fB\-\-move\-home\fR
120 Move the content of the user\*(Aqs home directory to the new location\&.
122 This option is only valid in combination with the
125 \fB\-\-home\fR) option\&.
128 \fB\-o\fR, \fB\-\-non\-unique\fR
132 option, this option allows to change the user ID to a non\-unique value\&.
135 \fB\-p\fR, \fB\-\-password\fR\fIHAS\(/LO\fR
137 The encrypted password, as returned by
142 This option is not recommended because the password (or encrypted password) will be visible by users listing the processes\&.
144 You should make sure the password respects the system\*(Aqs password policy\&.
147 \fB\-s\fR, \fB\-\-shell\fR\fISHELL\fR
149 Nazwa nowej pow\(/loki (shell) użytkownika\&. Ustawienie tego pola na puste powoduje, że system wybierze domyślną pow\(/lokę logowania\&.
152 \fB\-u\fR, \fB\-\-uid\fR\fIUID\fR
154 The new numerical value of the user\*(Aqs ID\&.
156 This value must be unique, unless the
158 option is used\&. The value must be non\-negative\&. Values between 0 and 999 are typically reserved for system accounts\&.
160 The user\*(Aqs mailbox, and any files which the user owns and which are located in the user\*(Aqs home directory will have the file user ID changed automatically\&.
162 The ownership of files outside of the user\*(Aqs home directory must be fixed manually\&.
165 \fB\-U\fR, \fB\-\-unlock\fR
167 Odblokowuje has\(/lo użytkownika\&. Opcja ta powoduje usuniecie \(cq!\(cq z początku zakodowanego has\(/la\&. Opcji tej nie można używać z opcjami
172 Note: if you wish to unlock the account (not only access with a password), you should also set the
175 \fI99999\fR, or to the
178 /etc/default/useradd)\&.
181 \fB\-Z\fR, \fB\-\-selinux\-user\fR \fISEUSER\fR
183 The SELinux user for the user\*(Aqs login\&. The default is to leave this field the blank, which causes the system to select the default SELinux user\&.
187 You must make certain that the named user is not executing any processes when this command is being executed if the user\*(Aqs numerical user ID, the user\*(Aqs name, or the user\*(Aqs home directory is being changed\&.
189 checks this on Linux, but only check if the user is logged in according to utmp on other architectures\&.
191 You must change the owner of any
197 You must make any changes involving NIS on the NIS server\&.
200 The following configuration variables in
202 change the behavior of this tool:
204 \fBMAIL_DIR\fR (string)
206 The mail spool directory\&. This is needed to manipulate the mailbox when its corresponding user account is modified or deleted\&. If not specified, a compile\-time default is used\&.
209 \fBMAIL_FILE\fR (string)
211 Defines the location of the users mail spool files relatively to their home directory\&.
218 variables are used by
222 to create, move, or delete the user\*(Aqs mail spool\&.
225 \fBMAIL_CHECK_ENAB\fR
227 \fIyes\fR, they are also used to define the
229 environment variable\&.
231 \fBMAX_MEMBERS_PER_GROUP\fR (number)
233 Maximum members per group entry\&. When the maximum is reached, a new group entry (line) is started in
235 (with the same name, same password, and same GID)\&.
237 The default value is 0, meaning that there are no limits in the number of members in a group\&.
239 This feature (split group) permits to limit the length of lines in the group file\&. This is useful to make sure that lines for NIS groups are not larger than 1024 characters\&.
241 If you need to enforce such limit, you can use 25\&.
243 Note: split groups may not be supported by all tools (even in the Shadow toolsuite)\&. You should not use this variable unless you really need it\&.
249 Informacje o grupach użytkownik\('ow\&.
254 Informacje chronione o grupach użytkownik\('ow\&.
259 Informacja o kontach użytkownik\('ow\&.
264 Informacje chronione o użytkownikach\&.