[ man7.org ](../../../index.html) > Linux > [ man-pages ](../index.html) |  [ Linux/UNIX system programming training ](http://man7.org/training/)  
---|---  
  
* * *

[ Go to the version of this page provided by the _shadow-utils_ project
](newgrp.1.html)

* * *

#  newgrp(1) — Linux manual page

NAME  |  SYNOPSIS  |  DESCRIPTION  |  FILES  |  AUTHORS  |  SEE ALSO  |  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)](../man1/login.1.html).  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_
    

##  AUTHORS  top

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

##  SEE ALSO  top

    
    
           [login(1)](../man1/login.1.html), [group(5)](../man5/group.5.html)
    

##  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
           2021-03-21.  (At that time, the date of the most recent commit
           that was found in the repository was 2021-03-19.)  If you
           discover any rendering problems in this HTML version 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
           manual page), send a mail to man-pages@man7.org
    
    util-linux                    October 1993                     NEWGRP(1)
    

* * *

* * *

HTML rendering created 2021-04-01 by [ Michael Kerrisk ](https://man7.org/mtk/index.html) , author of [ _The Linux Programming Interface_ ](https://man7.org/tlpi/) , maintainer of the [ Linux _man-pages_ project ](https://www.kernel.org/doc/man-pages/) .  For details of in-depth **Linux/UNIX system programming training courses** that I teach, look [ here ](https://man7.org/training/) .  Hosting by [ jambit GmbH ](https://www.jambit.com/index_en.html) .  |  |  [ ![Cover of TLPI](https://man7.org/tlpi/cover/TLPI-front-cover-vsmall.png) ](https://man7.org/tlpi/)  
---|---|---  
  
* * *

[ ![Web Analytics Made Easy -

StatCounter](https://c.statcounter.com/7422636/0/9b6714ff/1/)
](https://statcounter.com/ "Web Analytics

Made Easy - StatCounter")