已采納回答 / 慕勒0097041
setfacl -x 文件名 刪除指定acl權限............-b…………刪除所有權限............-k…………刪除默認權限
2018-03-12
權限溢出可以這樣解決啊
先 setfacl -m u:lw:r -R av
再 setfacl -m u:lw:rx av
嘿 你他娘的真是個天才(滑稽)
先 setfacl -m u:lw:r -R av
再 setfacl -m u:lw:rx av
嘿 你他娘的真是個天才(滑稽)
2018-02-16
即使目錄被賦予了SGID權限,并且目錄是775,普通文件也無法在目錄下創建文件。普通用戶必須對目錄有寫權限,也就三目錄必須是777,才能在目錄下面新建文件。
2018-02-12
即使目錄被賦予了SGID權限,并且目錄是775,普通文件也無法在目錄下創建文件。普通用戶必須對目錄有寫文件,也就三目錄必須是777,才能在目錄下面新建文件。
2018-02-12
#!/bin/bash
find / -perm -4000 -o -perm -2000 > /root/suid_temp
for i in $(cat /root/suid_temp)
do
grep $i /root/suid.log > /dev/null
if [ "$?" != "0" ];then
echo "$i wrong suid add now" >> /root/suid.wrong.log_$(date +%F)
fi
done
find / -perm -4000 -o -perm -2000 > /root/suid_temp
for i in $(cat /root/suid_temp)
do
grep $i /root/suid.log > /dev/null
if [ "$?" != "0" ];then
echo "$i wrong suid add now" >> /root/suid.wrong.log_$(date +%F)
fi
done
2018-02-11
最新回答 / 慕無忌7233295
【蜘蛛俠TG@abin789】-6801【蜘蛛俠TG@abin789】-6802【蜘蛛俠TG@abin789】-6803【蜘蛛俠TG@abin789】-6804【蜘蛛俠TG@abin789】-6805【蜘蛛俠TG@abin789】-6806【蜘蛛俠TG@abin789】-6807【蜘蛛俠TG@abin789】-6808【蜘蛛俠TG@abin789】-6809【蜘蛛俠TG@abin789】-6810【蜘蛛俠TG@abin789】-6811【蜘蛛俠TG@abin789】-6812【蜘蛛俠TG@abin789】...
2017-12-16