[toc]

设置普通用户的 sudo 权限

$ su

# vi /ect/sudors

在第一添加如下内容:

iambigwhite ALL=(root)NOPASSWD:ALL

查看防火墙是否关闭

[root@ iambigwhite ~]# sudo service iptables status

Linux基础 第三节 第三课_普通用户

关闭防火墙

$ sudo service iptables stop

启动防火墙

$ sudo service iptables start

永久性设置防火墙关闭

$ sudo chkconfig iptables off