11 lines
289 B
Bash
11 lines
289 B
Bash
|
#find / -perm -u=s -type f 2>/dev/null
|
||
|
echo "================suid set================"
|
||
|
find / -perm /4000 2>/dev/null
|
||
|
|
||
|
echo "================sguid set================"
|
||
|
find / -perm /2000 2>/dev/null
|
||
|
|
||
|
|
||
|
echo "================suid & sguid set================"
|
||
|
find / -perm /6000 2>/dev/null
|