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