V7/usr/man/man1/newgrp.1

Find at most related files.
including files from this version of Unix.

.TH NEWGRP 1 
.SH NAME
newgrp \- log in to a new group
.SH SYNOPSIS
.B newgrp
group
.SH DESCRIPTION
.I Newgrp
changes the group identification of its caller,
analogously to
.IR  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.
.PP
A password is demanded if the group has
a password and the user himself does not.
.PP
When most users log in, they
are members of the group named `other.'
.I Newgrp
is known to the shell, which executes it directly without a fork.
.SH FILES
/etc/group, /etc/passwd
.SH "SEE ALSO"
login(1), group(5)