summaryrefslogtreecommitdiff
path: root/man/ru/man8/userdel.8
diff options
context:
space:
mode:
Diffstat (limited to 'man/ru/man8/userdel.8')
-rw-r--r--man/ru/man8/userdel.8108
1 files changed, 5 insertions, 103 deletions
diff --git a/man/ru/man8/userdel.8 b/man/ru/man8/userdel.8
index 149e4d47..afd55522 100644
--- a/man/ru/man8/userdel.8
+++ b/man/ru/man8/userdel.8
@@ -1,13 +1,13 @@
'\" t
.\" Title: userdel
.\" Author: Julianne Frances Haugh
-.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
-.\" Date: 01/02/2022
+.\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/>
+.\" Date: 08/18/2022
.\" Manual: Команды управления системой
-.\" Source: shadow-utils 4.11.1
+.\" Source: shadow-utils 4.12.2
.\" Language: Russian
.\"
-.TH "userdel" "8" "01/02/2022" "shadow\-utils 4\&.11\&.1" "Команды управления системой"
+.TH "userdel" "8" "08/18/2022" "shadow\-utils 4\&.12\&.2" "Команды управления системой"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
@@ -82,7 +82,7 @@ Apply changes in the
\fICHROOT_DIR\fR
directory and use the configuration files from the
\fICHROOT_DIR\fR
-directory\&.
+directory\&. Only absolute paths are supported\&.
.RE
.PP
\fB\-P\fR, \fB\-\-prefix\fR\ \&\fIPREFIX_DIR\fR
@@ -103,104 +103,6 @@ directory\&. This option does not chroot and is intended for preparing a cross\-
The following configuration variables in
/etc/login\&.defs
change the behavior of this tool:
-.PP
-\fBMAIL_DIR\fR (string)
-.RS 4
-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\&. The parameter CREATE_MAIL_SPOOL in
-/etc/default/useradd
-determines whether the mail spool should be created\&.
-.RE
-.PP
-\fBMAIL_FILE\fR (string)
-.RS 4
-Определяет расположение почтовых файлов пользователя относительно домашнего каталога\&.
-.RE
-.PP
-The
-\fBMAIL_DIR\fR
-and
-\fBMAIL_FILE\fR
-variables are used by
-\fBuseradd\fR,
-\fBusermod\fR, and
-\fBuserdel\fR
-to create, move, or delete the user\*(Aqs mail spool\&.
-.PP
-If
-\fBMAIL_CHECK_ENAB\fR
-is set to
-\fIyes\fR, they are also used to define the
-\fBMAIL\fR
-environment variable\&.
-.PP
-\fBMAX_MEMBERS_PER_GROUP\fR (number)
-.RS 4
-Maximum members per group entry\&. When the maximum is reached, a new group entry (line) is started in
-/etc/group
-(with the same name, same password, and same GID)\&.
-.sp
-Значение по умолчанию равно 0, означающее, что ограничения на количество членов в группе нет\&.
-.sp
-Данная возможность (разделение группы) позволяет ограничить длину строк в файле групп\&. Это полезно для ограничения длины строк групп NIS в 1024 символа\&.
-.sp
-Если вам нужно такое ограничение, укажите значение 25\&.
-.sp
-Замечание: разделение групп поддерживается не всеми инструментами (даже в наборе инструментов Shadow)\&. Вы не должны использовать эту переменную, если вам действительно это ненужно\&.
-.RE
-.PP
-\fBUSERDEL_CMD\fR (string)
-.RS 4
-Определяет программу, которая будет запущена при удалении пользователя\&. Она должна удалять любые задания at/cron/печати удаляемого пользователя (передаётся в качестве первого аргумента)\&.
-.sp
-Возвращаемый сценарием код завершения не учитывается\&.
-.sp
-Here is an example script, which removes the user\*(Aqs cron, at and print jobs:
-.sp
-.if n \{\
-.RS 4
-.\}
-.nf
-#! /bin/sh
-
-# Check for the required argument\&.
-if [ $# != 1 ]; then
- echo "Usage: $0 username"
- exit 1
-fi
-
-# Remove cron jobs\&.
-crontab \-r \-u $1
-
-# Remove at jobs\&.
-# Note that it will remove any jobs owned by the same UID,
-# even if it was shared by a different username\&.
-AT_SPOOL_DIR=/var/spool/cron/atjobs
-find $AT_SPOOL_DIR \-name "[^\&.]*" \-type f \-user $1 \-delete \e;
-
-# Remove print jobs\&.
-lprm $1
-
-# All done\&.
-exit 0
-
-.fi
-.if n \{\
-.RE
-.\}
-.sp
-.RE
-.PP
-\fBUSERGROUPS_ENAB\fR (boolean)
-.RS 4
-Включает установку группы битов umask равной битам владельца (пример: 022 \-> 002, 077 \-> 007) для не суперпользователей, если uid равен gid и имя пользователя совпадает с именем первичной группы\&.
-.sp
-If set to
-\fIyes\fR,
-\fBuserdel\fR
-will remove the user\*(Aqs group if it contains no more members, and
-\fBuseradd\fR
-will create by default a group with the name of the user\&.
-.RE
.SH "ФАЙЛЫ"
.PP
/etc/group