summaryrefslogtreecommitdiff
path: root/man/ru/man1/sg.1
diff options
context:
space:
mode:
Diffstat (limited to 'man/ru/man1/sg.1')
-rw-r--r--man/ru/man1/sg.146
1 files changed, 26 insertions, 20 deletions
diff --git a/man/ru/man1/sg.1 b/man/ru/man1/sg.1
index e77c4536..6d7dcdcd 100644
--- a/man/ru/man1/sg.1
+++ b/man/ru/man1/sg.1
@@ -2,12 +2,12 @@
.\" Title: sg
.\" Author: Julianne Frances Haugh
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
-.\" Date: 06/13/2019
+.\" Date: 12/01/2019
.\" Manual: Пользовательские команды
-.\" Source: shadow-utils 4.7
+.\" Source: shadow-utils 4.8
.\" Language: Russian
.\"
-.TH "sg" "1" "06/13/2019" "shadow\-utils 4\&.7" "Пользовательские команды"
+.TH "sg" "1" "12/01/2019" "shadow\-utils 4\&.8" "Пользовательские команды"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
@@ -31,34 +31,40 @@
sg \- выполняет команду с правами другой группы
.SH "СИНТАКСИС"
.HP \w'\fBsg\fR\ 'u
-\fBsg\fR [\-] [группа\ [\-c]\ команда]
+\fBsg\fR [\-] [group\ [\-c\ ]\ command]
.SH "ОПИСАНИЕ"
.PP
-Команда
+The
\fBsg\fR
-работает подобно команде
-\fBnewgrp\fR, но в качестве параметра ожидает команду\&. Команда будет выполнена оболочкой
-/bin/sh\&. В большинстве оболочек, откуда может запускаться
-\fBsg\fR, команду из нескольких слов нужно заключать в кавычки\&. Другим отличием между
+command works similar to
\fBnewgrp\fR
+but accepts a command\&. The command will be executed with the
+/bin/sh
+shell\&. With most shells you may run
\fBsg\fR
-является то, что некоторые оболочки воспринимают
+from, you need to enclose multi\-word commands in quotes\&. Another difference between
\fBnewgrp\fR
-особенным образом, заменяя себя новым экземпляром оболочки, которую создаёт
-\fBnewgrp\fR\&. Этого не происходит с командой
-\fBsg\fR, поэтому после завершения работы
+and
\fBsg\fR
-вы возвращаетесь в предыдущую группу\&.
+is that some shells treat
+\fBnewgrp\fR
+specially, replacing themselves with a new instance of a shell that
+\fBnewgrp\fR
+creates\&. This doesn\*(Aqt happen with
+\fBsg\fR, so upon exit from a
+\fBsg\fR
+command you are returned to your previous group ID\&.
.SH "НАСТРОЙКА"
.PP
-На работу этого инструмента влияют следующие переменные настройки из
-/etc/login\&.defs:
+The following configuration variables in
+/etc/login\&.defs
+change the behavior of this tool:
.PP
-\fBSYSLOG_SG_ENAB\fR (логический)
+\fBSYSLOG_SG_ENAB\fR (boolean)
.RS 4
-Включить протоколирование \(Fosyslog\(Fc действий
-\fBsg\fR\&.
+Enable "syslog" logging of
+\fBsg\fR
+activity\&.
.RE
.SH "ФАЙЛЫ"
.PP