23 lines
349 B
Markdown
23 lines
349 B
Markdown
|
---
|
||
|
tags:
|
||
|
- howto
|
||
|
- linux
|
||
|
---
|
||
|
|
||
|
# 1. root 유저 패스워드 설정
|
||
|
```shell
|
||
|
sudo passwd root
|
||
|
```
|
||
|
|
||
|
```
|
||
|
New password: [type root user password]
|
||
|
Retype new password: [type root user password before you type]
|
||
|
passwd: password updated successfully
|
||
|
```
|
||
|
# 2. root 로그인
|
||
|
```
|
||
|
$ su -
|
||
|
Password: [type root user password]
|
||
|
|
||
|
root@computer-name:~#
|
||
|
```
|