Manpages

名 称

gshadow - 影 子 化 了 的 组 文 件

描 述

/etc/gshadow contains the shadowed information for group accounts. 如 果 没 有 维 护 好 密 码 安 全 , 此 文 件 绝 对 不 能 让 普 通 用 户 可 读 。 此 文 件 的 每 行 包 含 逗 号 分 隔 的 如 下 字 段 : 组 名 必 须 是 系 统 中 已 经 存 在 的 有 效 组 。 加 密 了 的 密 码

Refer to crypt(3) for details on how this string is interpreted.

If the password field contains some string that is not a valid result of crypt(3), for instance ! or *, users will not be able to use a unix password to access the group (but group members do not need the password).

The password is used when a user who is not a member of the group wants to gain the permissions of this group (see newgrp(1)). 此 字 段 可 以 为 空 , 此 时 , 只 有 组 成 员 可 以 获 取 组 权 限 。

A password field which starts with an exclamation mark means that the password is locked. The remaining characters on the line represent the password field before the password was locked.

This password supersedes any password specified in /etc/group. 管 理 员 必 须 是 一 个 逗 号 分 隔 的 用 户 名 列 表 。 管 理 员 可 以 更 改 组 密 码 和 成 员 。 管 理 员 也 有 成 员 一 样 的 权 限 (请 看 下 边 )。 成 员 必 须 是 一 个 逗 号 分 隔 的 用 户 名 列 表 。 成 员 可 以 免 密 码 访 问 组 。

You should use the same list of users as in /etc/group.

文 件

/etc/group 组 账 户 信 息 。

/etc/gshadow 安 全 组 账 户 信 息 。

参 见

gpasswd(5), group(5), grpck(8), grpconv(8), newgrp(1).