在linux只有root使用者是任何事情都可以做的
root:特權使用者
user:普通使用者
切換使用者:su (switch user)
root使用者可以任意切換到任何使用者,其餘使用者切換到root使用者需要認證
su username 不切換使用者環境
su -username 切換使用者環境
3a認證:
認證 authentication
授權 authorization
審計 audition(日誌)
新增使用者:useradd ***
只有root使用者可以新增使用者
下圖中①.root使用者切換到redhat使用者(redhat已經事先建立)
②.redhat使用者切換到root使用者,進行了密碼驗證
3.root使用者建立了乙個使用者1234
4.切換到使用者1234
Linux 系統中使用者切換
1.linux系統中使用者切換的命令為su,語法為 su fmp c command s shell help version user arg 引數說明 f fast 不必讀啟動檔案 如 csh.cshrc 等 僅用於csh或tcsh兩種shell。l login 加了這個引數之後,就好像是重新登...
Linux系統中使用者切換
1.linux系統中使用者切換的命令為su,語法為 su fmp c command s shell help version user arg 引數說明 f fast 不必讀啟動檔案 如 csh.cshrc 等 僅用於csh或tcsh兩種shell。l login 加了這個引數之後,就好像是重新登...
Linux 系統中使用者切換
1.linux系統中使用者切換的命令為su,語法為 su fmp c command s shell help version user arg 引數說明 f fast 不必讀啟動檔案 如 csh.cshrc 等 僅用於csh或tcsh兩種shell。l login 加了這個引數之後,就好像是重新登...