標籤:root使用者密碼 linux 密碼找回 centos
root使用者身份登入
重設root使用者密碼
passwd
重設tran使用者密碼
passwd tran
============================================================================
redhat/centos系統 root密碼找回:
grub選項菜單按e進入編輯模式
編輯kernel那行,/init 1或/single
按B重啟(進入救援模式)
執行passwd root (重設新密碼)
init 6重啟,即可新密碼進入
============================================================================
(二)debian linux 系統密碼破解
1.在grub選項菜單’Debian GNU/Linux,...(recovery mode)’,按e進入編輯模式
2.編輯kernel那行面的 ro single 改成 rw single init=/bin/bash,按b執行重啟
3.進入後執行下列命令
[email protected](none)#mount -a
[email protected](none)#passwd root
[email protected](none)#reboot
============================================================================
(三)Freebsd 系統密碼破解
1.開機進入引導菜單
2.選擇每項(按4)進入單一使用者模式
3.進入之後輸入一列命令
[email protected]#mount -a
[email protected]#fsck -y
[email protected]#passwd(修改密碼命令)
root使用者、普通使用者密碼重新設定和找回(centos/redhat/debian/freebsd)