Security v1.0.0

groups-tool

Display user group memberships on the system. Shows all groups a user belongs to for permission auditing and access...

dinghaibin 更新于 2026-04-29 1 浏览
下载 SKILL

技能说明

Display user group memberships on the system. Shows all groups a user belongs to for permission auditing and access control verification.

使用场景

Display all group memberships for the current user or a specified system user. Group membership determines file access permissions and sudo privileges on Unix-like systems.

直接复制以下提示词,发送给你的 AI 助手即可完成安装。

帮我下载并安装这个SKILL:https://skillhub.cstcloud.cn/download/groups-tool
  1. 点击上方「下载 SKILL」按钮,获取技能压缩包。
  2. 将压缩包解压到你的 Agent 技能目录。
  3. 重启客户端后即可在技能列表中选择该技能。

技能文件内容

5 个文件 · 13 kB
SKILL.md text/markdown
---
name: groups-tool
description: Display user group memberships on the system. Shows all groups a user belongs to for permission auditing and access control verification.
---
# Groups - User Group Membership Checker

Display all group memberships for the current user or a specified system user. Group membership determines file access permissions and sudo privileges on Unix-like systems.

## Usage

```bash
groups-tool [options] [username]
```

When called without arguments, shows groups for the current user. Specify a username to check another user's memberships.

## Examples

```bash
# Show groups for current user
groups-tool

# Show groups for a specific user
groups-tool www-data

# Show numeric group IDs
groups-tool -id
```

## Notes

Groups are read from /etc/group and can include both primary and supplementary group memberships. Changes to group membership take effect on next login.

文件内容直接读取自技能仓库,仅供安装前审阅;以实际下载的压缩包为准。