newgrp 中文man頁面
名稱 (NAME)
newgrp - 登錄到新的用戶組中
總覽 (SYNOPSIS)
newgrp [ group ]
描述 (DESCRIPTION)
Newgrp 改變調(diào)用者的用戶組標(biāo)識, 類似于 login(1). 調(diào)用者仍舊在線上, 當(dāng)前目錄也不變, 但是文件的訪問權(quán)限將根據(jù)新的用戶組 ID 計(jì)算.
如果沒有指定用戶組別, GID 將變成登錄時(shí)的GID.
文件 (FILES)
/etc/group
/etc/passwd
另見 (SEE ALSO)
login(1), group(5)
#p#
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 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
/etc/group
/etc/passwd
SEE ALSO
login(1), group(5)