newgrp man page

newgrp — log in to a new group


newgrp [group]


newgrp changes the group identification of its caller, analogously to 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.

If no group is specified, the GID is changed to the login GID.



See Also

login(1), group(5)


Originally by Michael Haardt. Currently maintained by Peter Orbaek (poe@daimi.aau.dk).


The newgrp command is part of the util-linux package and is available from ftp://ftp.kernel.org/pub/linux/utils/ut….

Referenced By

credentials(7), fedora-review(1), flock(1), gpasswd(1), group(5), gshadow(5), ksh(1), lgroupmod(1), pmdammv(1), sg(1), tcsh(1).

Explore man page connections for newgrp(1).

util-linux October 1993