Linux Root without Sudo

The magic is in the file:

/etc/sudoers

must use password 
User      ALL=(root) PASSWD: /bin/dd,/sbin/insmod,/sbin/ip,/sbin/tc,
/usr/sbin/wshaper,/sbin/iptables,/sbin/route

no password required
User        ALL=(root) NOPASSWD: /bin/dd,/sbin/insmod,/sbin/ip,/sbin/tc,
/usr/sbin/wshaper,/sbin/iptables,/sbin/route

Comments

Popular Posts