Imported upstream version 1.5
[manpages-zh.git] / raw / man1 / newgrp.1
blobde420ecfb10738c9489d44fd7e41c4e189270fb9
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 .BI "newgrp [ " group " ]"
8 .SH DESCRIPTION
9 .B Newgrp
10 changes the group identification of its caller, analogously to
11 .BR login (1).
12 The same person remains logged in, and the current directory
13 is unchanged, but calculations of access permissions to files are performed
14 with respect to the new group ID.
15 .LP
16 If no group is specified, the GID is changed to the login GID.
17 .LP
18 .SH FILES
19 .I /etc/group
20 .br
21 .I /etc/passwd
23 .SH "SEE ALSO"
24 .BR login "(1), " group (5)
26 .SH AUTHOR
27 Originally by Michael Haardt. Currently maintained by 
28 Peter Orbaek (poe@daimi.aau.dk).