COHERENT manpages

This page displays the COHERENT manpage for newgrp [Change to a new group].

List of available manpages
Index


newgrp -- Command

Change to a new group
newgrp group

newgrp changes  the user's group identification to  the specified group, if
access is  permitted.  The file /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.

The shell executes newgrp directly.

Files

/etc/group -- Give group access

See Also

commands,
group,
ksh,
sh

Diagnostics

If newgrp succeeds, no diagnostic is printed.

Notes

Interruption of newgrp can result in the user being logged off.

Under the Korn shell, newgrp is an alias for exec newgrp.