|
HSI Version: |
All |
|
Purpose: |
Change active group ID |
|
Aliases: |
|
|
Command Format: |
newgrp GID | groupName
|
|
Options: |
GID : numeric group ID to start using. groupName : optional new group name to start using |
|
Keywords: |
|
|
Usage Notes: |
The GID or GroupName must be a member of the user's group set, as shown by the GROUPS command.
New files and directories created after a successful "newgrp" command has been issued will have group ownership set to the new GID, unless otherwise overridden by the directory's SET_GID flag, which forces GIDs to be set to that of the parent directory. |
|
Example: |
newgrp staff
or
newgrp 10438
|
|
Related Command(s): |
GROUPS |