Initial commit for Tizen
[profile/extras/shadow-utils.git] / man / ru / groupmod.8
1 '\" t
2 .\"     Title: groupmod
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: Команды управления системой
7 .\"    Source: Команды управления системой
8 .\"  Language: Russian
9 .\"
10 .TH "groupmod" "8" "02/16/2011" "Команды управления системой" "Команды управления системой"
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 "НАЗВАНИЕ"
31 groupmod \- изменяет определение группы в системе
32 .SH "СИНТАКСИС"
33 .HP \w'\fBgroupmod\fR\ 'u
34 \fBgroupmod\fR [\fIпараметры\fR] \fIГРУППА\fR
35 .SH "ОПИСАНИЕ"
36 .PP
37 Команда
38 \fBgroupmod\fR
39 изменяет определение указанной
40 \fIГРУППЫ\fR, изменяя соответствующую запись в базе данных групп\&.
41 .SH "ПАРАМЕТРЫ"
42 .PP
43 Параметры команды
44 \fBgroupmod\fR:
45 .PP
46 \fB\-g\fR, \fB\-\-gid\fR\fIGID\fR
47 .RS 4
48 The group ID of the given
49 \fIGROUP\fR
50 will be changed to
51 \fIGID\fR\&.
52 .sp
53 The value of
54 \fIGID\fR
55 must be a non\-negative decimal integer\&. This value must be unique, unless the
56 \fB\-o\fR
57 option is used\&. Values between 0 and 999 are typically reserved for system groups\&.
58 .sp
59 Any files that have the old group ID and must continue to belong to
60 \fIGROUP\fR, must have their group ID changed manually\&.
61 .RE
62 .PP
63 \fB\-h\fR, \fB\-\-help\fR
64 .RS 4
65 Показать краткую справку и закончить работу\&.
66 .RE
67 .PP
68 \fB\-n\fR, \fB\-\-new\-name\fR\fIНОВАЯ_ГРУППА\fR
69 .RS 4
70 Имя группы будет изменено с
71 \fIГРУППА\fR
72 на
73 \fIНОВАЯ_ГРУППА\fR\&.
74 .RE
75 .PP
76 \fB\-o\fR, \fB\-\-non\-unique\fR
77 .RS 4
78 When used with the
79 \fB\-g\fR
80 option, allow to change the group
81 \fIGID\fR
82 to a non\-unique value\&.
83 .RE
84 .PP
85 \fB\-p\fR, \fB\-\-password\fR\fIПАРОЛЬ\fR
86 .RS 4
87 Шифрованное значение пароля, которое возвращает функция
88 \fBcrypt\fR(3)\&.
89 .sp
90
91 \fBNote:\fR
92 This option is not recommended because the password (or encrypted password) will be visible by users listing the processes\&.
93 .sp
94 You should make sure the password respects the system\*(Aqs password policy\&.
95 .RE
96 .SH "CONFIGURATION"
97 .PP
98 The following configuration variables in
99 /etc/login\&.defs
100 change the behavior of this tool:
101 .PP
102 \fBMAX_MEMBERS_PER_GROUP\fR (number)
103 .RS 4
104 Maximum members per group entry\&. When the maximum is reached, a new group entry (line) is started in
105 /etc/group
106 (with the same name, same password, and same GID)\&.
107 .sp
108 The default value is 0, meaning that there are no limits in the number of members in a group\&.
109 .sp
110 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\&.
111 .sp
112 If you need to enforce such limit, you can use 25\&.
113 .sp
114 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\&.
115 .RE
116 .SH "ФАЙЛЫ"
117 .PP
118 /etc/group
119 .RS 4
120 содержит информацию о группах
121 .RE
122 .PP
123 /etc/gshadow
124 .RS 4
125 содержит защищаемую информацию о группах
126 .RE
127 .SH "ВОЗВРАЩАЕМЫЕ ЗНАЧЕНИЯ"
128 .PP
129 Команда
130 \fBgroupmod\fR
131 завершая работу, возвращает следующие значения:
132 .PP
133 \fI0\fR
134 .RS 4
135 успешное выполнение
136 .RE
137 .PP
138 \fI2\fR
139 .RS 4
140 ошибка в параметрах команды
141 .RE
142 .PP
143 \fI3\fR
144 .RS 4
145 недопустимое значение параметра
146 .RE
147 .PP
148 \fI4\fR
149 .RS 4
150 указанная группа не существует
151 .RE
152 .PP
153 \fI6\fR
154 .RS 4
155 указанная группа не существует
156 .RE
157 .PP
158 \fI9\fR
159 .RS 4
160 такое имя группы уже используется
161 .RE
162 .PP
163 \fI10\fR
164 .RS 4
165 не удалось изменить файл групп
166 .RE
167 .SH "СМОТРИТЕ ТАКЖЕ"
168 .PP
169 \fBchfn\fR(1),
170 \fBchsh\fR(1),
171 \fBpasswd\fR(1),
172 \fBgpasswd\fR(8),
173 \fBgroupadd\fR(8),
174 \fBgroupdel\fR(8),
175 \fBuseradd\fR(8),
176 \fBuserdel\fR(8),
177 \fBusermod\fR(8)\&.