newgrp - log in to the new user group

Overview (SYNOPSIS)

newgrp [ group ]

 

Description (DESCRIPTION)

Newgrp user to change the caller group identification, similar to the Login (1). The caller is still registered in the system, the current directory is unchanged, but access to the files will be calculated according to the new user group ID.

If you do not specify a user group, GID will become GID login.

 

 

File (FILES)

/etc/group
/etc/passwd

Guess you like

Origin www.cnblogs.com/fanweisheng/p/11089624.html