| .\" Original author unknown. This man page is in the public domain. |
| .\" Modified Sat Oct 9 17:46:48 1993 by faith@cs.unc.edu |
| .TH NEWGRP 1 "9 October 1993" "Linux 1.2" "Linux Programmer's Manual" |
| .SH NAME |
| newgrp \- log in to a new group |
| .SH SYNOPSIS |
| .B newgrp |
| .RI [ group ] |
| .SH DESCRIPTION |
| .B Newgrp |
| changes the group identification of its caller, analogously to |
| .BR login (1). |
| The same person remains logged in, and the current directory |
| is unchanged, but calculations of access permissions to files are performed |
| with respect to the new group ID. |
| .LP |
| If no group is specified, the GID is changed to the login GID. |
| .LP |
| .SH FILES |
| .I /etc/group |
| .br |
| .I /etc/passwd |
| |
| .SH "SEE ALSO" |
| .BR login (1), |
| .BR group (5) |
| |
| .SH AUTHOR |
| Originally by Michael Haardt. Currently maintained by |
| Peter Orbaek (poe@daimi.aau.dk). |
| |
| .SH AVAILABILITY |
| The newgrp command is part of the util-linux-ng package and is available from |
| ftp://ftp.kernel.org/pub/linux/utils/util-linux-ng/. |