memos/linux/설치 후 첫 root 로그인.md

25 lines
351 B
Markdown
Raw Permalink Normal View History

2024-08-25 15:21:39 +00:00
---
tags:
- howto
- linux
---
# 1. root 유저 패스워드 설정
2024-08-26 11:55:58 +00:00
2024-08-25 15:21:39 +00:00
```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 로그인
2024-08-26 11:55:58 +00:00
2024-08-25 15:21:39 +00:00
```
$ su -
Password: [type root user password]
root@computer-name:~#
```