tizen 2.0
[external/shadow.git] / man / pl / sg.1
1 '\" t
2 .\"     Title: sg
3 .\"    Author: [FIXME: author] [see http://docbook.sf.net/el/author]
4 .\" Generator: DocBook XSL Stylesheets v1.75.1 <http://docbook.sf.net/>
5 .\"      Date: 07/24/2009
6 .\"    Manual: Polecenia użytkownik\('ow
7 .\"    Source: Polecenia użytkownik\('ow
8 .\"  Language: Polish
9 .\"
10 .TH "SG" "1" "07/24/2009" "Polecenia użytkownik\('ow" "Polecenia użytkownik\('ow"
11 .\" -----------------------------------------------------------------
12 .\" * set default formatting
13 .\" -----------------------------------------------------------------
14 .\" disable hyphenation
15 .nh
16 .\" disable justification (adjust text to left margin only)
17 .ad l
18 .\" -----------------------------------------------------------------
19 .\" * MAIN CONTENT STARTS HERE *
20 .\" -----------------------------------------------------------------
21 .SH "NAZWA"
22 sg \- execute command as different group ID
23 .SH "SK\(/LADNIA"
24 .HP \w'\fBsg\fR\ 'u
25 \fBsg\fR [\-] [group\ [\-c]\ command]
26 .SH "OPIS"
27 .PP
28 The
29 \fBsg\fR
30 command works similar to
31 \fBnewgrp\fR
32 but accepts a command\&. The command will be executed with the
33 /bin/sh
34 shell\&. With most shells you may run
35 \fBsg\fR
36 from, you need to enclose multi\-word commands in quotes\&. Another difference between
37 \fBnewgrp\fR
38 and
39 \fBsg\fR
40 is that some shells treat
41 \fBnewgrp\fR
42 specially, replacing themselves with a new instance of a shell that
43 \fBnewgrp\fR
44 creates\&. This doesn\'t happen with
45 \fBsg\fR, so upon exit from a
46 \fBsg\fR
47 command you are returned to your previous group ID\&.
48 .SH "CONFIGURATION"
49 .PP
50 The following configuration variables in
51 /etc/login\&.defs
52 change the behavior of this tool:
53 .PP
54 \fBSYSLOG_SG_ENAB\fR (boolean)
55 .RS 4
56 Enable "syslog" logging of
57 \fBsg\fR
58 activity\&.
59 .RE
60 .SH "PLIKI"
61 .PP
62 /etc/passwd
63 .RS 4
64 Informacja o kontach użytkownik\('ow\&.
65 .RE
66 .PP
67 /etc/shadow
68 .RS 4
69 Informacje chronione o użytkownikach\&.
70 .RE
71 .PP
72 /etc/group
73 .RS 4
74 Informacje o grupach użytkownik\('ow\&.
75 .RE
76 .PP
77 /etc/gshadow
78 .RS 4
79 Informacje chronione o grupach użytkownik\('ow\&.
80 .RE
81 .SH "ZOBACZ TAKŻE"
82 .PP
83
84 \fBid\fR(1),
85 \fBlogin\fR(1),
86 \fBnewgrp\fR(1),
87 \fBsu\fR(1),
88 \fBgpasswd\fR(1),
89 \fBgroup\fR(5), \fBgshadow\fR(5)\&.