게시판

제목CentOS 5, 6, 7, 8 싱글모드2026-07-08 20:19
작성자 Level 10

【root 암호 분실에 따른 초기화】

-. 8

rd.break 추가

mount -o remount,rw /sysroot/

mount | grep sysroot

(rw,relatime)

chroot /sysroot

passwd root

touch /.autorelabel

exit

logout


-.7

rhgb quiet → init=/bin/bash

mount -o remount,rw /

passwd root

touch /.autorelabel

exec /sbin/init


-.6

rhgb quiet single 또는 rhgb quiet selinux=0

passwd root


-.5

rhgb quiet 1

passwd root

댓글
자동등록방지
(자동등록방지 숫자를 입력해 주세요)