熱搜:win11繞過硬件限制安裝 一鍵重裝Win10系統(tǒng) 最干凈的u盤啟動盤 真正純凈版的win7系統(tǒng)
時間:2015-02-26 17:31:48 作者:qipeng 來源:系統(tǒng)之家 1. 掃描二維碼隨時看資訊 2. 請使用手機瀏覽器訪問: https://m.xitongzhijia.net/xtjc/20150226/39105.html 手機查看 評論 反饋
在Linux系統(tǒng)操作中,root通常是不設(shè)置密碼的,一旦設(shè)置了root密碼,不小心忘記也不用擔(dān)心,下面小編就告訴你Linux不同版本破解root密碼的方法,希望對你有所幫助。
以root身份登陸,執(zhí)行:
# passwd 用戶名 (修改密碼)
# useradd 用戶名 (添加用戶) 具體示例如下:[root@bogon ~]# passwd root Changing password for user root. New UNIX password:
BAD PASSWORD: it is based on a dictionary word Retype new UNIX password:
passwd: all authentication tokens updated successfully.
linux下root密碼找回方法
linux的root享有至高無上的權(quán)力,一旦root密碼忘記或者被盜,是一件非常頭痛的事情,那么怎么樣才能找回root的密碼呢,本人把其總結(jié)如下:
。ㄒ唬㎜inux 系統(tǒng)密碼破解
1.在grub選項菜單按e進入編輯模式
2.編輯kernel那行 /init 1 (或/single)
3.按B重啟
4.進入后執(zhí)行下列命令
root@#passwd root (配置root的密碼)
Enter new unix password:輸入新的密碼
root@#init 6
。ǘヾebian linux 系統(tǒng)密碼破解
1.在grub選項菜單’Debian GNU/Linux,…(recovery mode)’,按e進入編輯模式
2.編輯kernel那行最后面的 ro single 改成 rw single init=/bin/bash,按b執(zhí)行重啟
3.進入后執(zhí)行下列命令
root@(none)#mount -a
root@(none)#passwd root
root@(none)#reboot
。ㄈ〧reebsd 系統(tǒng)密碼破解
1.開機進入引導(dǎo)菜單
2.選擇每項(按4)進入單用戶模式
3.進入之后輸入一列命令
root@#mount -a
root@#fsck -y
root@#passwd(修改密碼命令)
root@#root(要破解密碼的用戶名)
Enter new unix password:
root@#init 6 (重啟)
。ㄋ模㏒olaris 系統(tǒng)密碼破解
1.在grub選項菜中選擇solaris failasfe 項
2.系統(tǒng)提示Do you wish to have it mounted read-write on /a ?[y,n,?] 選擇y
3.就進入單用戶模式
4.輸入下列命令
#passwd
#New passwd:輸入新的密碼
#Re-enter New passwd:在次輸入新的密碼
#init 6 (重啟) bitscn.com
發(fā)表評論
共0條
評論就這些咯,讓大家也知道你的獨特見解
立即評論以上留言僅代表用戶個人觀點,不代表系統(tǒng)之家立場