3 .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author]
4 .\" Generator: DocBook XSL Stylesheets v1.75.1 <http://docbook.sf.net/>
6 .\" Manual: Polecenia użytkownik\('ow
7 .\" Source: Polecenia użytkownik\('ow
10 .TH "NEWGRP" "1" "07/24/2009" "Polecenia użytkownik\('ow" "Polecenia użytkownik\('ow"
11 .\" -----------------------------------------------------------------
12 .\" * set default formatting
13 .\" -----------------------------------------------------------------
14 .\" disable hyphenation
16 .\" disable justification (adjust text to left margin only)
18 .\" -----------------------------------------------------------------
19 .\" * MAIN CONTENT STARTS HERE *
20 .\" -----------------------------------------------------------------
22 newgrp \- log in to a new group
24 .HP \w'\fBnewgrp\fR\ 'u
25 \fBnewgrp\fR [\-] [\fIgroup\fR]
30 command is used to change the current group ID during a login session\&. If the optional
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\&.
36 changes the current real group ID to the named group, or to the default group listed in
38 if no group name is given\&.
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
42 if this user has an entry in the shadowed password file, or in
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\&.
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
52 The following configuration variables in
54 change the behavior of this tool:
56 \fBSYSLOG_SG_ENAB\fR (boolean)
58 Enable "syslog" logging of
66 Informacja o kontach użytkownik\('ow\&.
71 Informacje chronione o użytkownikach\&.
76 Informacje o grupach użytkownik\('ow\&.
81 Informacje chronione o grupach użytkownik\('ow\&.
91 \fBgroup\fR(5), \fBgshadow\fR(5)\&.