已采納回答 / 慕粉3224144
if [ "$?" != "0" ]? ? then? ? ??????????echo "$i is a new suid file !" ?>> /root/suid_logfi
2017-02-25
最新回答 / weixin_慕移動(dòng)6024322
ll /bin/vi-rwxr-xr-x 1 root root 907248 12月 22 2016 /bin/vi根據(jù)上面的回答測試了一下[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上面的命令可以執(zhí)行。不用絕對路徑時(shí),vi為/usr/b...
2017-02-25