Skip to content

Exclude /mnt to check SUID files #25

Description

@lcheylus

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions