關閉→
當前位置:知科普>IT科技>linux將用戶添加到用戶組

linux將用戶添加到用戶組

知科普 人氣:2W

Linux給用戶設定用戶組

1、開啟linux系統,在linux的桌面的空白處右擊。

linux將用戶添加到用戶組

2、在彈出的下拉選項裏,點擊開啟終端。

linux將用戶添加到用戶組 第2張

3、然後用命令useradd test123給linux添加一個新用戶。

linux將用戶添加到用戶組 第3張

4、再使用“groupadd groupTest”命令創建用戶組。

linux將用戶添加到用戶組 第4張

5、最後使用“usermod -G groupTest test123”將已有的用戶添加到已有的組中即可。

linux將用戶添加到用戶組 第5張

TAG標籤:#linux #用戶組 #