问题:
I know there is the /etc/group
file that lists all users groups. 我知道有/etc/group
文件列出了所有用户组。
I would like to know if there is a simple command to list all user group names in spite of parsing the world readable /etc/group
file. 我想知道是否有一个简单的命令列出所有用户组名称,尽管解析了世界可读的/etc/group
文件。 I am willing to create an administrator web page that lists Linux accounts' group names. 我愿意创建一个列出Linux帐户组名的管理员网页。
解决方案:
参考一: https://stackoom.com/question/wzcq/是否有命令列出所有Unix组名-关闭参考二: https://oldbug.net/q/wzcq/Is-there-a-command-to-list-all-Unix-group-names-closed
来源:oschina
链接:https://my.oschina.net/stackoom/blog/4405784