文章详情

  • 游戏榜单
  • 软件榜单
关闭导航
热搜榜
热门下载
热门标签
php爱好者> php文档>sudo: /etc/sudoers is mode 0640, should be 0440

sudo: /etc/sudoers is mode 0640, should be 0440

时间:2010-10-18  来源:vikingyi

Lost Password

Here is how you can use the Live CD to change the administrative password on your machine if you have lost/forgot the current password. Please note that you can usually boot into RecoveryMode and run the passwd command directly.

  1. Boot the Ubuntu Live CD.
  2. Press Ctrl-Alt-F1

  3. sudo mount /dev/hda1 /mnt

  4. Depending on your machine it could also be sudo mount /dev/sda1 /mnt. If you created a custom partition layout when installing Ubuntu you have to find your root partition using the fdisk utility. See the section Finding your root partition.

  5. sudo chroot /mnt

You can now use the passwd command to reset a password.

Note: In the mount command, /dev/hda1 will need to be replaced with the partition where the root of the file system resides.

相关阅读 更多 +
排行榜 更多 +
侏罗纪冲突内置破解版下载

侏罗纪冲突内置破解版下载

策略塔防 下载
梦想之路无限金币破解版下载

梦想之路无限金币破解版下载

赛车竞速 下载
鸽子神语音盒游戏下载

鸽子神语音盒游戏下载

休闲益智 下载