Skip to content

Commit c6d9d73

Browse files
authored
Create Reset_passwd.md
1 parent b682933 commit c6d9d73

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

lab/Reset_passwd.md

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# Đặt lại pass Ubuntu
2+
Để đặt lai password khi quên, khởi đông Ubuntu vào chế độ khôi phục `(Recovery Mode)`, chọn `Root shell prompt` (lời nhắc root shell)
3+
và thiết lập new password.
4+
Trước tiên, hãy khởi động lại server. Sau màn hình BIOS, có khởi động GRUB, nhấn `Shift` hoặc `Esc`
5+
![image](https://github.com/HuyPham01/docs/assets/96679595/edd4f0a1-ab8d-4392-80e2-eaf5704553eb)
6+
7+
![image](https://github.com/HuyPham01/docs/assets/96679595/7695a6fd-be04-46ce-9f03-20b9b836fd5d)
8+
9+
Trước tiên hãy gắn kết lại bộ nhớ với quyền ghi (write permissions):
10+
```
11+
mount -o remount,rw /
12+
```
13+
New passwd
14+
```
15+
passwd Username
16+
```
17+
Khi có thông báo `Successfully` thì đã thành công, hãy khởi động lại server bằng CLI `reboot`

0 commit comments

Comments
 (0)