group 中文man頁(yè)面
NAME(名稱)
group - 用戶組文件
DESCRIPTION(描述)
/etc/group 是一個(gè)ASCII碼的文件,它定義了用戶所屬的組.文件中每行包括一條記錄,其格式如下:
- group_name:passwd:GID:user_list
字段描述如下:
- group_name
- 組名
- password
- (加密的)組密碼.如果該字段為空,則不需要密碼.
- GID
- 組的數(shù)字標(biāo)識(shí).
- user_list
- 組內(nèi)所有成員的用戶名,以逗號(hào)分隔.
FILES(相關(guān)文件)
/etc/group
SEE ALSO(另見(jiàn))
login(1), newgrp(1), passwd(5)
#p#
NAME
group - user group file
DESCRIPTION
/etc/group is an ASCII file which defines the groups to which users belong. There is one entry per line, and each line has the format:
- group_name:passwd:GID:user_list
The field descriptions are:
- group_name
- the name of the group.
- password
- the (encrypted) group password. If this field is empty, no password is needed.
- GID
- the numerical group ID.
- user_list
- all the group member's user names, separated by commas.
FILES
/etc/group
SEE ALSO
login(1), newgrp(1), passwd(5)