昨天電話會議開的太長了,到家已經凌晨一點。今天得補上兩天的指令學習。
琢磨了一下發現上來就搞系統參數配置不太符合我的邏輯接受順序,決定先學下linux用戶的基本概念
root - 超級用戶,權限最高。
Linux每個用戶都歸屬於特定的用戶組,可以通過用戶組對該組用戶集中管理 (實際是對文件 /etc/group 的更新)
指令名稱
adduser
功能介紹
這個指令是個script程序,可在root下添加新用戶,
語法
adduser [-可選參數] 用戶名
參數介紹
--quiet | -q don't give process information to stdout
--force-badname allow usernames which do not match the
NAME_REGEX[_SYSTEM] configuration variable
--help | -h usage message
--version | -v version number and copyright
--conf | -c FILE use FILE as configuration file
etc.
基本使用
驗證下
參考文獻
1.《Linux指令從入門到精通》2.2.1