Root 비밀번호 재설정


<aside> <img src="/icons/sign-in_lightgray.svg" alt="/icons/sign-in_lightgray.svg" width="40px" />

password 재설정 - 방법 1


  1. reboot → grup 접속
  2. rd.break → linux 마지막 칸에 입력
  3. mount -o rw,remount /sysroot
  4. chroot /sysroot
  5. echo “설정 비번” | passwd --stdin root

5-1. passwd root

  1. touch /.autorelabel
  2. exit 2번

password 재설정 - 방법 2


  1. reboot
  2. ro → rw 수정, init=/bin/bash → linux 마지막 칸에 입력
  3. echo “설정 비번” | passwd --stdin root

3-1. pass root

  1. touch /.autorelabel
  2. exec /sbin/init </aside>

Emergency Mode 접속


<aside> <img src="/icons/sign-in_lightgray.svg" alt="/icons/sign-in_lightgray.svg" width="40px" />

방법


  1. reboot → grup 접속
  2. systemd.unit=emergency.target
  3. ctrl + d → 비밀번호 입력 → 정상 접속 </aside>