summaryrefslogtreecommitdiff
path: root/man/zh_CN/man1/sg.1
diff options
context:
space:
mode:
Diffstat (limited to 'man/zh_CN/man1/sg.1')
-rw-r--r--man/zh_CN/man1/sg.140
1 files changed, 21 insertions, 19 deletions
diff --git a/man/zh_CN/man1/sg.1 b/man/zh_CN/man1/sg.1
index f1b0f5c3..91f28d96 100644
--- a/man/zh_CN/man1/sg.1
+++ b/man/zh_CN/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: 2019-06-13
+.\" Date: 2019-12-01
.\" Manual: 用户命令
-.\" Source: shadow-utils 4.7
+.\" Source: shadow-utils 4.8
.\" Language: Chinese Simplified
.\"
-.TH "SG" "1" "2019-06-13" "shadow\-utils 4\&.7" "用户命令"
+.TH "SG" "1" "2019-12-01" "shadow\-utils 4\&.8" "用户命令"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
@@ -31,38 +31,40 @@
sg \- 以不同的组 ID 执行命令
.SH "大纲"
.HP \w'\fBsg\fR\ 'u
-\fBsg\fR [\-] [组\ [\-c]\ 命令]
+\fBsg\fR [\-] [group\ [\-c\ ]\ command]
.SH "描述"
.PP
+The
\fBsg\fR
-命令类似于
-\fBnewgrp\fR,但是可以接受一个命令。这个命令将会使用
+command works similar to
+\fBnewgrp\fR
+but accepts a command\&. The command will be executed with the
/bin/sh
-shell 来执行。对于您可以使用
+shell\&. With most shells you may run
\fBsg\fR
-启动的多数 shell,您需要将多个词的命令用引号引起来。\fBnewgrp\fR
-和
+from, you need to enclose multi\-word commands in quotes\&. Another difference between
+\fBnewgrp\fR
+and
\fBsg\fR
-之间的另外一个不同点是某些 shell 对
+is that some shells treat
\fBnewgrp\fR
-有特殊对待,会使用
+specially, replacing themselves with a new instance of a shell that
\fBnewgrp\fR
-创建的一个新的 shell 实例替换自身。这不会发生在
-\fBsg\fR
-身上,所以从
+creates\&. This doesn\*(Aqt happen with
+\fBsg\fR, so upon exit from a
\fBsg\fR
-退出后,您会返回到先前的组 ID。
+command you are returned to your previous group ID\&.
.SH "配置文件"
.PP
-在
+The following configuration variables in
/etc/login\&.defs
-中有如下配置变量,可以用来更改此工具的行为:
+change the behavior of this tool:
.PP
\fBSYSLOG_SG_ENAB\fR (boolean)
.RS 4
-允许\(lqsyslog\(rq记录
+Enable "syslog" logging of
\fBsg\fR
-的活动。
+activity\&.
.RE
.SH "文件"
.PP