1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

How can I find suid files in Linux?

Discussion in 'Linux' started by Gabriel9999, Apr 16, 2019.

Tags:
  1. Gabriel9999

    Gabriel9999 New Member

    Joined:
    Mar 12, 2019
    Messages:
    18
    Likes Received:
    1
    Trophy Points:
    3
    From security perspective of my Linux boxes I want to list suid enabled files with the find command.
     
  2. samueltarcin9999

    samueltarcin9999 New Member

    Joined:
    Mar 12, 2019
    Messages:
    16
    Likes Received:
    10
    Trophy Points:
    3
    Hi Gabriel9999,
    You can use following command which can be used to list suid enabled files.
    $find / -perm /u-s
    reference: poftut.com/linux-find-command-with-examples/
     
    Gabriel9999 likes this.

Share This Page