tizen 2.0
[external/shadow.git] / man / pl / newgrp.1
1 '\" t
2 .\"     Title: newgrp
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 "NEWGRP" "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 newgrp \- log in to a new group
23 .SH "SK\(/LADNIA"
24 .HP \w'\fBnewgrp\fR\ 'u
25 \fBnewgrp\fR [\-] [\fIgroup\fR]
26 .SH "OPIS"
27 .PP
28 The
29 \fBnewgrp\fR
30 command is used to change the current group ID during a login session\&. If the optional
31 \fB\-\fR
32 flag is given, the user\'s environment will be reinitialized as though the user had logged in, otherwise the current environment, including current working directory, remains unchanged\&.
33 .PP
34
35 \fBnewgrp\fR
36 changes the current real group ID to the named group, or to the default group listed in
37 /etc/passwd
38 if no group name is given\&.
39 \fBnewgrp\fR
40 also tries to add the group to the user groupset\&. If not root, the user will be prompted for a password if she does not have a password (in
41 /etc/shadow
42 if this user has an entry in the shadowed password file, or in
43 /etc/passwd
44 otherwise) and the group does, or if the user is not listed as a member and the group has a password\&. The user will be denied access if the group password is empty and the user is not listed as a member\&.
45 .PP
46 If there is an entry for this group in
47 /etc/gshadow, then the list of members and the password of this group will be taken from this file, otherwise, the entry in
48 /etc/group
49 is considered\&.
50 .SH "CONFIGURATION"
51 .PP
52 The following configuration variables in
53 /etc/login\&.defs
54 change the behavior of this tool:
55 .PP
56 \fBSYSLOG_SG_ENAB\fR (boolean)
57 .RS 4
58 Enable "syslog" logging of
59 \fBsg\fR
60 activity\&.
61 .RE
62 .SH "PLIKI"
63 .PP
64 /etc/passwd
65 .RS 4
66 Informacja o kontach użytkownik\('ow\&.
67 .RE
68 .PP
69 /etc/shadow
70 .RS 4
71 Informacje chronione o użytkownikach\&.
72 .RE
73 .PP
74 /etc/group
75 .RS 4
76 Informacje o grupach użytkownik\('ow\&.
77 .RE
78 .PP
79 /etc/gshadow
80 .RS 4
81 Informacje chronione o grupach użytkownik\('ow\&.
82 .RE
83 .SH "ZOBACZ TAKŻE"
84 .PP
85
86 \fBid\fR(1),
87 \fBlogin\fR(1),
88 \fBsu\fR(1),
89 \fBsg\fR(1),
90 \fBgpasswd\fR(1),
91 \fBgroup\fR(5), \fBgshadow\fR(5)\&.