首頁 繪圖設計 工作閒聊 比賽活動 美術討論 標籤 圖片
Fedora 20 / Fedora 21: 忘記 Root 密碼 + 重設 root 密碼
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%

(5,990 views)
[更多討論] 討論區 Windows, Linux, Perl, PHP, C/C++, Driver, Web 理論、應用、硬體、軟體

"Fedora 20 / Fedora 21: 忘記 Root 密碼 + 重設 root 密碼" 傳統頁面(電腦版)

首頁 繪圖設計 工作閒聊 比賽活動 美術討論 標籤 圖片
傳統桌面版 [ 登入/註冊 ]
© Vovo2000.com Mobile Version 小哈手機版 2024