生活不仅只是敲代码,还有...调bug...
安装好Debian后还不能使用sudo如果没有安装sudo,则在root用户下1apt-get install sudo
1
apt-get install sudo
在root设置sudoers配制文件123chmod +w /etc/sudoersvim /etc/sudoers
123
chmod +w /etc/sudoersvim /etc/sudoers
添加一行1username ALL=(ALL) ALL
username ALL=(ALL) ALL
其中username是你的用户名,保存更改sudoers文件权限1chmod 0440 /etc/sudoers
chmod 0440 /etc/sudoers
退出root