Bell 32V development
[unix-history] / usr / man / man1 / newgrp.1
CommitLineData
c1030a02
TL
1.TH NEWGRP 1
2.SH NAME
3newgrp \- log in to a new group
4.SH SYNOPSIS
5.B newgrp
6group
7.SH DESCRIPTION
8.I Newgrp
9changes the group identification of its caller,
10analogously to
11.IR login (1).
12The same person remains logged in,
13and the current directory is unchanged,
14but calculations of access permissions to files are
15performed with respect to the
16new group ID.
17.PP
18A password is demanded if the group has
19a password and the user himself does not.
20.PP
21When most users log in, they
22are members of the group named `other.'
23.I Newgrp
24is known to the shell, which executes it directly without a fork.
25.SH FILES
26/etc/group, /etc/passwd
27.SH "SEE ALSO"
28login(1), group(5)