LoginSignup
4
2

More than 3 years have passed since last update.

kali linuxのrootのpasswordを忘れたときの再設定方法

Last updated at Posted at 2019-05-14

参考

★こちらを参考にさせていただきました。★

流れ

Step 1: Boot Into GRUB menu
Step 2: Edit GRUB menu
Step 3: Check RW permissions on root partition
Step 4: Reset Kali root password
Step 5: Reboot Kali

ちょっと詳しく

GRUB boot menuで e を押す。

GRUB menu edit modeに移行したら、linuxと書いてある行にある以下の文字を次のように置き換える。
rorw
quiet → init=/bin/bash
ctrl+x で編集を終了する。

CLIの画面に移行したら、passwdコマンドでパスワードを再設定してexec /sbin/initで再起動する。

4
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
4
2