已采纳回答 / 慕粉3224144
if [ "$?" != "0" ] then echo "$i is a new suid file !" >> /root/suid_logfi
2017-02-25
最新回答 / weixin_慕移动6024322
ll /bin/vi-rwxr-xr-x 1 root root 907248 12月 22 2016 /bin/vi根据上面的回答测试了一下[root@localhost ~]# chmod 4755 /bin/vi[root@localhost ~]# ll /bin/vi-rwsr-xr-x 1 root root 907248 12月 22 2016 /bin/vi[user1@localhost ~]$ /bin/vi /etc/shadow上面的命令可以执行。不用绝对路径时,vi为/usr/b...
2017-02-25