Type(Type) 2014/11/5 20:01
Fedora 20 / Fedora 21: 忘記 Root 密碼 + 重設 root 密碼
First, Press 'e' enter grub2 to edit ...
Assume ORIGINAL:
代碼:
linux /boot/vmlinuz-3.16.3-200.fc20.x86_64 root=UUID=50d20d3d-f\
e1a-4555-8f6a-d12038f35534 ro console=tty0 console=ttyS0,115200
Change "ro" to "rw init=/bin/bash"
代碼:
linux /boot/vmlinuz-3.16.3-200.fc20.x86_64 root=UUID=50d20d3d-f\
e1a-4555-8f6a-d12038f35534 rw init=/bin/bash console=tty0 console=ttyS0,115200
Then,
代碼:
(a) passwd root
(b) touch /.autorelabel
(c) /sbin/reboot -f
代碼:
*** Warning -- SELinux targeted policy relabel is required.
*** Relabeling could take a very long time, depending on file
*** system size and speed of hard drives.
10.9%
(8,672 views)
© Vovo2000.com Mobile Version 小哈手機版 2025