Root 비밀번호 재설정
<aside>
<img src="/icons/sign-in_lightgray.svg" alt="/icons/sign-in_lightgray.svg" width="40px" />
password 재설정 - 방법 1
- reboot → grup 접속
- rd.break → linux 마지막 칸에 입력
- mount -o rw,remount /sysroot
- chroot /sysroot
- echo “설정 비번” | passwd --stdin root
5-1. passwd root
- touch /.autorelabel
- exit 2번
password 재설정 - 방법 2
- reboot
- ro → rw 수정, init=/bin/bash → linux 마지막 칸에 입력
- echo “설정 비번” | passwd --stdin root
3-1. pass root
- touch /.autorelabel
- exec /sbin/init
</aside>
Emergency Mode 접속
<aside>
<img src="/icons/sign-in_lightgray.svg" alt="/icons/sign-in_lightgray.svg" width="40px" />
방법
- reboot → grup 접속
- systemd.unit=emergency.target
- ctrl + d → 비밀번호 입력 → 정상 접속
</aside>