debian官网地址:http://www.debian.org/

镜像地址:我选择的是网络安装,最基本的版本

http://cdimage.debian.org/debian-cd/6.0.6/multi-arch/iso-cd/debian-6.0.6-amd64-i386-netinst.iso

安装完之后发现sudo命令不能用

找了半天发现是没有安装sudo

得了,进入root安包,炸开他,apt-get install sudo

安装完发现又出现一堆怪问题

不管他,继续前进

在root设置sudoers配制文件

chmod +w /etc/sudoers

vim /etc/sudoers

添加一行  

username     ALL=(ALL) ALL

其中username是你的用户名,保存

更改sudoers文件权限 

chmod 0440 /etc/sudoers

退出root

ok可以了,试试?;-)

相关文章:

  • 2021-07-09
  • 2021-05-31
  • 2021-11-12
  • 2022-12-23
  • 2021-06-30
  • 2021-11-08
  • 2022-12-23
  • 2021-09-05
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-08-06
  • 2022-12-23
  • 2021-04-08
相关资源
相似解决方案