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 "NEWGRP" "1" "16/02/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 newgrp \- log in to a new group
33 .HP \w'\fBnewgrp\fR\ 'u
34 \fBnewgrp\fR [\-] [\fIgroup\fR]
39 command is used to change the current group ID during a login session\&. If the optional
41 flag is given, the user\*(Aqs environment will be reinitialized as though the user had logged in, otherwise the current environment, including current working directory, remains unchanged\&.
45 changes the current real group ID to the named group, or to the default group listed in
47 if no group name is given\&.
49 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
51 if this user has an entry in the shadowed password file, or in
53 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\&.
55 If there is an entry for this group in
56 /etc/gshadow, then the list of members and the password of this group will be taken from this file, otherwise, the entry in
61 The following configuration variables in
63 change the behavior of this tool:
65 \fBSYSLOG_SG_ENAB\fR (boolean)
67 Enable "syslog" logging of
75 informazioni sugli account utente\&.
80 Informazioni sicure sugli account di utenti\&.
85 Informazioni sugli account di gruppo\&.
90 Informazioni sicure sugli account di gruppo\&.
100 \fBgroup\fR(5), \fBgshadow\fR(5)\&.