Upload Tizen:Base source
[framework/base/util-linux-ng.git] / login-utils / newgrp.1
1 .\" Original author unknown.  This man page is in the public domain.
2 .\" Modified Sat Oct  9 17:46:48 1993 by faith@cs.unc.edu
3 .TH NEWGRP 1 "9 October 1993" "Linux 1.2" "Linux Programmer's Manual"
4 .SH NAME
5 newgrp \- log in to a new group
6 .SH SYNOPSIS
7 .B newgrp
8 .RI [ group ]
9 .SH DESCRIPTION
10 .B Newgrp
11 changes the group identification of its caller, analogously to
12 .BR login (1).
13 The same person remains logged in, and the current directory
14 is unchanged, but calculations of access permissions to files are performed
15 with respect to the new group ID.
16 .LP
17 If no group is specified, the GID is changed to the login GID.
18 .LP
19 .SH FILES
20 .I /etc/group
21 .br
22 .I /etc/passwd
23
24 .SH "SEE ALSO"
25 .BR login (1),
26 .BR group (5)
27
28 .SH AUTHOR
29 Originally by Michael Haardt. Currently maintained by
30 Peter Orbaek (poe@daimi.aau.dk).
31
32 .SH AVAILABILITY
33 The newgrp command is part of the util-linux-ng package and is available from
34 ftp://ftp.kernel.org/pub/linux/utils/util-linux-ng/.