sg(1) redhat man page | unix.com

Man Page: sg

Operating Environment: redhat

Section: 1

NEWGRP(1)						     Linux Programmer's Manual							 NEWGRP(1)

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 direc- tory 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
SEE ALSO
login(1), group(5)
AUTHOR
Originally by Michael Haardt. Currently maintained by Peter Orbaek (poe@daimi.aau.dk). Linux 1.2 9 October 1993 NEWGRP(1)
Related Man Pages
newgrp(1) - mojave
newgrp(1) - debian
newgrp(1) - freebsd
newgrp(1) - xfree86
newgrp(1) - opendarwin
Similar Topics in the Unix Linux Community
mv files to /dev/null
How to display an error msg?
Getting 'Killed' msg
suid sgid problem in script
Dmesg with date possible?