To check SUID files, command find / -type f -perm -4000 is used in vps-audit.sh script.
On my Linux Debian desktop, I have a NFS share mounted as /mnt/disk (several TB on my NAS). The find command is very long to end.
I propose to exclude /mnt from find command using -prune flag to find SUID files => find / -path /mnt -prune -type f -perm -4000
To check SUID files, command
find / -type f -perm -4000is used invps-audit.shscript.On my Linux Debian desktop, I have a NFS share mounted as
/mnt/disk(several TB on my NAS). Thefindcommand is very long to end.I propose to exclude
/mntfromfindcommand using-pruneflag to find SUID files =>find / -path /mnt -prune -type f -perm -4000