Man1 - newgrp.1

Table of Contents

NAME

newgrp - log in to a new group

SYNOPSIS

newgrp [/group/]

DESCRIPTION

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.

FILES

/etc/group, /etc/passwd

AUTHORS

Originally by Michael Haardt. Currently maintained by

SEE ALSO

*login*(1), *group*(5)

REPORTING BUGS

For bug reports, use the issue tracker at https://github.com/karelzak/util-linux/issues.

AVAILABILITY

The newgrp command is part of the util-linux package which can be downloaded from Linux Kernel Archive https://www.kernel.org/pub/linux/utils/util-linux/.

Author: dt

Created: 2022-02-22 Tue 15:52