.TH newgrp "" "" Command
.PC "Change to a new group"
\fBnewgrp \fIgroup\fR
.PP
.B newgrp
changes the user's group identification to the specified
.IR group ,
if access is permitted.
The file
.B /etc/group
determines group access.
Group access may be unrestricted, or open to all users with specific exceptions,
or restricted to certain users via a password.
.PP
The shell executes
.B newgrp
directly.
.SH Files
.B
\fB/etc/group\fR \(em Give group access
.SH "See Also"
.Xr "commands," commands
.Xr "group," group
.Xr "ksh," ksh
.Xr "sh" sh
.SH Diagnostics
If
.B newgrp
succeeds, no diagnostic is printed.
.SH Notes
Interruption of
.B newgrp
can result in the user being logged off.
.PP
Under the Korn shell,
.B newgrp
is an alias for
.BR "exec newgrp" .
