若銀 Linuxラ膩

maya
篁ャLinux泣若 若銀 ゃ荅宴

 

Linux泣若 若銀

maya
Linux若吟鐚荅宴篁若吟篏帥

nao
Linux[guest]с違ゃ潟

maya
茵若銀膊∞с篏с

nao
cc違ゃ潟眼

maya
違ゃ潟眼綽荀鐚

nao
[guest]筝若吟с[root]膊∞若吟cc鐚

maya
筝root罔号

nao
root罔鐚

maya
膊∞罔

 

膊∞罔号鐚

nao
c鐚

maya
su潟潟篏帥茯荀鴻c帥

 

1. su潟潟絎茵

[guest@localhost ~]$ su -
鴻若: root鴻若ュ
腟違ゃ: 腟違ゃ恰ユ茵腓冴

 

2. root若吟

[root@localhost ~]#

 

nao
潟潟ゃ潟紊c鐚

maya
紊c鐚

nao
[guest][root]紊c

maya
篁鐚

nao
若c ‘$’’#’c鐚

maya
荀鐚

nao

maya
‘$’筝若吟’#’膊∞若吟

nao
荀c鐚

maya
Linux潟潟篏荀茯ц帥鴻潟潟’$’’#’吾潟潟篏筝若吟膊∞若吟腓冴紊т綵劫蚊c

nao
‘$ 潟潟’筝若吟’# 潟潟’膊∞若吟ф篏c鐚

maya

nao
с鴻潟潟篏с

maya
綽ф蚊障х亜罔с膊∞с篏с篏罐腟c筝若吟祉

nao
膊∞罔篏帥膓鐚

maya
箴域ゃc篏障荀<ゃゃ障c

nao
腱紊掩

maya
篋冴宴篏帥腟c筝若吟祉荀

nao
c祉鐚

maya
exit潟潟c帥

 

root若吟筝若吟祉

[root@localhost ~]# exit
[guest@localhost ~]$

 

nao
‘#’’$’祉c

maya
蚊ょ∞罔ゃ荀罨蚊

nao

maya
膊∞若吟鴻若篏綽荀篋坂札紊腟九障

nao
膊∞罔違c

maya
鴻若鴻c荀

nao

 

若銀

maya
臀激c違若吟篏

nao
障膊∞罔

maya
若銀useradd潟潟篏帥

 

1. [nao]筝若吟篏

[root@localhost ~]# useradd nao

 

2. 篏[nao]鴻若荐絎

[root@localhost ~]# passwd nao
違鴻若: 鴻若ュ
違鴻若ュ: 綺鴻若ュ
passwd: 鴻茯荐若若潟罩c贋違с障

 

nao
useradd潟潟篏茵腓冴馹鐚

maya
馹罧綽泣Linux潟潟潟潟綽篏茵腓冴荐潟

nao
綵篏筝絎

maya
с潟潟篏緇茵腓冴<潟潟腟腆肴潟潟篁ヤ腆肴潟潟筝箴

 

腆肴潟潟鐚箴鐚

[root@localhost ~]# cat /etc/passwd | grep nao
nao:x:1002:1002::/home/nao:/bin/bash

 

maya
潟潟荅括完<祉若吾潟c緇膣剛<帥[nao]篏翫篏茵腓冴

 

篏若吟с違ゃ潟

maya
篏[nao]若吟с違ゃ潟帥c

 

1. 脂√劽紙帥潟[guest]御

2. 若吟若帥

3. [nao]

 

4. [nao]鴻若ュ[泣ゃ潟ゃ]

5. ユ茯

 

6. ユ茯

 

7. 罨<吾

 

8. 鴻

 

9. CentOS Linux 篏帥紮

 

10. 劽

 

10. 帥若莎桁[guest]с[nao]ц儀腆肴с

 

nao
≪潟堺ャ絳

maya
с障ャ

 

  • 若吟篏膊∞у純
  • su潟潟х∞罔с
  • $ 潟潟筝若吟с潟潟篏
  • # 潟潟膊∞若吟с潟潟篏
  • 綽荀篏腟c膊∞若吟筝若吟祉
  • useradd潟潟с若吟篏

 

鐚鐚若祉鐚鐚