3 .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author]
4 .\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
6 .\" Manual: User Commands
7 .\" Source: User Commands
10 .TH "SG" "1" "02/16/2011" "User Commands" "User Commands"
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 .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
20 .\" -----------------------------------------------------------------
21 .\" * set default formatting
22 .\" -----------------------------------------------------------------
23 .\" disable hyphenation
25 .\" disable justification (adjust text to left margin only)
27 .\" -----------------------------------------------------------------
28 .\" * MAIN CONTENT STARTS HERE *
29 .\" -----------------------------------------------------------------
31 sg \- execute command as different group ID
34 \fBsg\fR [\-] [group\ [\-c\ ]\ command]
39 command works similar to
41 but accepts a command\&. The command will be executed with the
43 shell\&. With most shells you may run
45 from, you need to enclose multi\-word commands in quotes\&. Another difference between
49 is that some shells treat
51 specially, replacing themselves with a new instance of a shell that
53 creates\&. This doesn\*(Aqt happen with
54 \fBsg\fR, so upon exit from a
56 command you are returned to your previous group ID\&.
59 The following configuration variables in
61 change the behavior of this tool:
63 \fBSYSLOG_SG_ENAB\fR (boolean)
65 Enable "syslog" logging of
73 User account information\&.
78 Secure user account information\&.
83 Group account information\&.
88 Secure group account information\&.
98 \fBgroup\fR(5), \fBgshadow\fR(5)\&.