]> git.ipfire.org Git - thirdparty/util-linux.git/blame - login-utils/newgrp.1
man pages: add "AVAILABILITY" section
[thirdparty/util-linux.git] / login-utils / newgrp.1
CommitLineData
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
5newgrp \- log in to a new group
6.SH SYNOPSIS
7.BI "newgrp [ " group " ]"
8.SH DESCRIPTION
9.B Newgrp
10changes the group identification of its caller, analogously to
11.BR login (1).
12The same person remains logged in, and the current directory
13is unchanged, but calculations of access permissions to files are performed
14with respect to the new group ID.
15.LP
16If 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
27Originally by Michael Haardt. Currently maintained by
28Peter Orbaek (poe@daimi.aau.dk).
86d62711
KZ
29
30.SH AVAILABILITY
31The newgrp command is part of the util-linux-ng package and is available from
32ftp://ftp.kernel.org/pub/linux/utils/util-linux-ng/.