作者justfor1221 (生蛋)
看板Linux
標題[問題] 如何增加使用者的群組
時間Sun Sep 6 13:26:19 2009
請問一下各位唷
test1 是使用者
a b c d 是四個群組
在linux底下下了
sudo usermod -G a test1
會增加 a 到 test1 的次要群組
但是我想要四個群組都是給 test1
請問指令要怎下呢!?
我用
sudo usermod -aG a b c d test1
都顯示錯誤訊息(usermod的使用方法)
請高手們解答
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 210.71.22.25
→ laiis:sudo usermod -G a,b,c,d test1 09/06 18:58
→ adahsu:gpasswd -a test1 d 哩? 09/06 21:18