![無法建立群組](https://rvso.com/image/97242/%E7%84%A1%E6%B3%95%E5%BB%BA%E7%AB%8B%E7%BE%A4%E7%B5%84.png)
當我嘗試建立具有指定群組 ID 的群組時,groupadd xyz -g 999
我收到以下訊息:groupadd: group 'xyz' already exists
。我檢查了所有文件cat /etc/group /etc/group_0 ... | grep xyz
,但發現零結果。當我嘗試刪除該組時,groupdel xyz
我得到了groupdel: cannot remove entry 'xyz' from /etc/group
。作業系統:SUSE Linux Enterprise Server 12 (x86_64);版本 = 12
答案1
群組保存在外部資料庫(例如 LDAP 或 NIS)中,而不是 /etc/group 中。