newgrp 中文man頁面
名稱 (NAME)
newgrp - 登錄到新的用戶組中
總覽 (SYNOPSIS)
newgrp [ group ]
描述 (DESCRIPTION)
Newgrp 改變調用者的用戶組標識, 類似于 login(1). 調用者仍舊在線上, 當前目錄也不變, 但是文件的訪問權限將根據新的用戶組 ID 計算.
如果沒有指定用戶組別, GID 將變成登錄時的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)