NAME | SYNOPSIS | DESCRIPTION | FILES | SEE ALSO | AUTHOR | AVAILABILITY | COLOPHON

NEWGRP(1)                       User Commands                      NEWGRP(1)

NAME         top

       newgrp - log in to a new group

SYNOPSIS         top

       newgrp [group]

DESCRIPTION         top

       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         top

       /etc/group
       /etc/passwd

SEE ALSO         top

       login(1), group(5)

AUTHOR         top

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

AVAILABILITY         top

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

COLOPHON         top

       This page is part of the util-linux (a random collection of Linux
       utilities) project.  Information about the project can be found at 
       ⟨https://www.kernel.org/pub/linux/utils/util-linux/⟩.  If you have a
       bug report for this manual page, send it to
       util-linux@vger.kernel.org.  This page was obtained from the
       project's upstream Git repository 
       ⟨git://git.kernel.org/pub/scm/utils/util-linux/util-linux.git⟩ on
       2017-07-05.  If you discover any rendering problems in this HTML ver‐
       sion of the page, or you believe there is a better or more up-to-date
       source for the page, or you have corrections or improvements to the
       information in this COLOPHON (which is not part of the original man‐
       ual page), send a mail to man-pages@man7.org
util-linux                      October 1993                       NEWGRP(1)