Linux 系統密碼破解的幾種常用方法

來源:互聯網
上載者:User

   (一)Linux 系統密碼破解

  1.在grub選項菜單按E進入編輯模式

  2.編輯kernel那行 /init 1 (或/single)

  3.按B重啟

  4.進入後執行下列命令

  root@#passwd root (設定root的密碼)

  Enter new unix password:輸入新的密碼

  root@#init 6

  (二)debian linux 系統密碼破解

  1.在grub選項菜單'Debian GNU/Linux,...(recovery mode)',按e進入編輯模式

  2.編輯kernel那行最後面的 ro single 改成 rw single init=/bin/bash,按b執行重啟

  3.進入後執行下列命令

  root@(none)#mount -a

  root@(none)#passwd root

  root@(none)#reboot

  (三)Freebsd 系統密碼破解

  1.開機進入引導菜單

  2.選擇每項(按4)進入單一使用者模式

  3.進入之後輸入一列命令

  root@#mount -a

  root@#fsck -y

  root@#passwd(修改密碼命令)

  root@#root(要破解密碼的使用者名稱)

  Enter new unix password:

  root@#init 6 (重啟)

  (四)Solaris 系統密碼破解

  1.在grub選項菜中選擇solaris failasfe 項

  2.系統提示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 (重啟)

  (五)NetBsd 系統密碼破解

  1.開機:當出現提示符號並開始倒數五秒時, 鍵入以下指令:

  > boot -s (進入單一使用者模式命令)

  2.在以下的提示符號中

  Enter pathname of shell or RETURN for sh:

  按下 Enter。

  3.鍵入以下指令:

  # mount -a

  # fsck -y

  4.使用 passwd 更改 root 的密碼。

  5.使用 exit 指令進入多人模式。

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.