]>
Commit | Line | Data |
---|---|---|
6dbe3af9 KZ |
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 | |
726f69e2 | 3 | .TH NEWGRP 1 "9 October 1993" "Linux 1.2" "Linux Programmer's Manual" |
6dbe3af9 KZ |
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 | |
22 | ||
23 | .SH "SEE ALSO" | |
24 | .BR login "(1), " group (5) | |
726f69e2 KZ |
25 | |
26 | .SH AUTHOR | |
27 | Originally by Michael Haardt. Currently maintained by | |
28 | Peter Orbaek (poe@daimi.aau.dk). | |
86d62711 KZ |
29 | |
30 | .SH AVAILABILITY | |
31 | The newgrp command is part of the util-linux-ng package and is available from | |
32 | ftp://ftp.kernel.org/pub/linux/utils/util-linux-ng/. |