Upload
k-peggy
View
70
Download
0
Embed Size (px)
DESCRIPTION
練習Linux指令的紀錄和報告。
Citation preview
主機管理基本指令練習 ( 一 )
資工二 A 李珮綺 410126535
安裝桌面管理工具 ( 方便對照 )apt-get install gnome-system-tools
介面跑出來了 ~
新增群組groupadd [group]
新增使用者,並設定初始登入群組為 studentuseradd [username] –g [group]
修改帳號名稱usermod [ 原本 username] –l [ 修改後
username]
修改密碼passwd [username]
用 usermod 修改密碼usermod [username] –p [密碼 ]
設定群組管理員 ( 用 ROOT 權限 )gpasswd –A [username] [group]
用群管在群組新增使用者gpasswd –a [username] [group]
用群管刪除使用者gpasswd –d [username] [group]
直接設定群組使用者名單 ( 用 ROOT)gpasswd –M [username],[username],…
[group]
刪除使用者和群組userdel [username] / groupdel [group]