v7 man page for newgrp

Query: newgrp

OS: v7

Section: 1

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

NEWGRP(1)						      General Commands 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. A password is demanded if the group has a password and the user himself does not. When most users log in, they are members of the group named `other.' Newgrp is known to the shell, which executes it directly without a fork.
FILES
/etc/group, /etc/passwd
SEE ALSO
login(1), group(5) NEWGRP(1)
Related Man Pages
newgrp(1) - minix
newgrp(1) - xfree86
newgrp(1) - opendarwin
newgrp(1) - bsd
newgrp(1) - ultrix
Similar Topics in the Unix Linux Community
newgrp in a script
Automating 'newgrp' command - how?
what is the right way to use newgrp in script
How to set up newgrp on .profile?
Newgrp fails on only 1 group