Initialize Tizen 2.3
[external/shadow-utils.git] / man / ru / chfn.1
1 '\" t
2 .\"     Title: chfn
3 .\"    Author: [FIXME: author] [see http://docbook.sf.net/el/author]
4 .\" Generator: DocBook XSL Stylesheets v1.75.1 <http://docbook.sf.net/>
5 .\"      Date: 07/24/2009
6 .\"    Manual: Пользовательские команды
7 .\"    Source: Пользовательские команды
8 .\"  Language: Russian
9 .\"
10 .TH "chfn" "1" "07/24/2009" "Пользовательские команды" "Пользовательские команды"
11 .\" -----------------------------------------------------------------
12 .\" * set default formatting
13 .\" -----------------------------------------------------------------
14 .\" disable hyphenation
15 .nh
16 .\" disable justification (adjust text to left margin only)
17 .ad l
18 .\" -----------------------------------------------------------------
19 .\" * MAIN CONTENT STARTS HERE *
20 .\" -----------------------------------------------------------------
21 .SH "НАЗВАНИЕ"
22 chfn \- изменяет информацию о пользователе
23 .SH "СИНТАКСИС"
24 .HP \w'\fBchfn\fR\ 'u
25 \fBchfn\fR [\-f\ \fIФИО\fR] [\-r\ \fIномер\ комнаты\fR] [\-w\ \fIрабочий\ телефон\fR] [\-h\ \fIдомашний\ телефон\fR] [\-o\ \fIдругое\fR] [\fIимя\fR]
26 .SH "ОПИСАНИЕ"
27 .PP
28 Программа
29 \fBchfn\fR
30 изменяет ФИО, рабочий телефон, рабочие координаты и домашний номер телефона учётной записи пользователя\&. Обычно, эти данные выводятся командой
31 \fBfinger\fR(1)
32 и ей подобными программами\&. Обычный пользователь может изменить только определённые поля собственной учётной записи, разрешённые в файле
33 /etc/login\&.defs\&. (Настройкой по умолчанию пользователю не разрешается менять своё имя и фамилию\&.) Суперпользователь может изменять любое поле любой учётной записи\&. Кроме того, только суперпользователь может использовать параметр
34 \fB\-o\fR
35 для изменения нестандартизованной части поля GECOS\&.
36 .PP
37 These fields must not contain any colons\&. Except for the
38 \fIother\fR
39 field, they should not contain any comma or equal sign\&. It is also recommended to avoid non\-US\-ASCII characters, but this is only enforced for the phone numbers\&. The
40 \fIother\fR
41 field is used to store accounting information used by other applications\&.
42 .PP
43 Если ни один параметр не указан, то
44 \fBchfn\fR
45 переходит в интерактивный режим, предлагая запустившему пользователю изменить значения полей своей учётной записи\&. Вводимое значение заменяет текущее значение поля; если введена пустая строка, то текущее значение остаётся неизменным\&. Текущее значение показано в скобках
46 \fB[ ]\fR\&. Без параметров, программа
47 \fBchfn\fR
48 изменяет учётную запись запустившего пользователя\&.
49 .SH "CONFIGURATION"
50 .PP
51 The following configuration variables in
52 /etc/login\&.defs
53 change the behavior of this tool:
54 .PP
55 \fBCHFN_AUTH\fR (boolean)
56 .RS 4
57 If
58 \fIyes\fR, the
59 \fBchfn\fR
60 program will require authentication before making any changes, unless run by the superuser\&.
61 .RE
62 .PP
63 \fBCHFN_RESTRICT\fR (string)
64 .RS 4
65 This parameter specifies which values in the
66 \fIgecos\fR
67 field of the
68 /etc/passwd
69 file may be changed by regular users using the
70 \fBchfn\fR
71 program\&. It can be any combination of letters
72 \fIf\fR,
73 \fIr\fR,
74 \fIw\fR,
75 \fIh\fR, for Full name, Room number, Work phone, and Home phone, respectively\&. For backward compatibility,
76 \fIyes\fR
77 is equivalent to
78 \fIrwh\fR
79 and
80 \fIno\fR
81 is equivalent to
82 \fIfrwh\fR\&. If not specified, only the superuser can make any changes\&. The most restrictive setting is better achieved by not installing
83 \fBchfn\fR
84 SUID\&.
85 .RE
86 .PP
87 \fBLOGIN_STRING\fR (string)
88 .RS 4
89 The string used for prompting a password\&. The default is to use "Password: ", or a translation of that string\&. If you set this variable, the prompt will no be translated\&.
90 .sp
91 If the string contains
92 \fI%s\fR, this will be replaced by the user\'s name\&.
93 .RE
94 .SH "ФАЙЛЫ"
95 .PP
96 /etc/login\&.defs
97 .RS 4
98 содержит конфигурацию подсистемы теневых паролей
99 .RE
100 .PP
101 /etc/passwd
102 .RS 4
103 содержит информацию о пользователях
104 .RE
105 .SH "СМОТРИТЕ ТАКЖЕ"
106 .PP
107 \fBchsh\fR(1),
108 \fBlogin.defs\fR(5),
109 \fBpasswd\fR(5)\&.