debian软件源配置
刚安装好的Debian默认还没有sudo功能。
1、安装sudo
# apt-get install sudo
2、修改 /etc/sudoers 文件属性为可写
# chmod +w /etc/sudoers
3、编辑 /etc/sudoers ,添加如下行
# vim /etc/sudoers
root ALL=(ALL) ALL
shuai ALL=(ALL) ALL
4、修改/etc/sudoers 文件属性为只读
# chmod -w /etc/sudoers