• Twitter
  • rss
  • facebook

緊隨 ROOTLAU.COM 的最新消息和資訊

更改 root 的密碼

(0)

分類 : Linux

有不少朋友至電給小 root 問有關於如更改 root 的密碼,當然不是我的私人密碼啦!是 Linux 管理員帳戶 root 的密碼。

All you need to do is reboot the machine. When you are presented with the Grub menu, hit the ‘e’ key. This will allow you to edit the current boot options. Add the ‘ single’ to the line that begins with ‘kernel /vmlinuz’.  Now press ‘b’ to boot with the modified boot options.

You’ll now be presented with the command line. At the command line simply enter ‘passwd’. You’ll be prompted, twice, for a new password.

Type in ‘exit’ and the machine will continue booting into the normal process. Your root password has now been changed.

轉自:http://linuxphile.org/node/15

Share to Google Plus

張貼評論

*