In Linux, how can I identify if a binary file is set-user-ID?Can I use ls -l?
How can I identify if a binary file is set-user-ID?
linux;binary;setuid
executing ls -l you will get something like:-rwSr--r--   1 user user    8111573 Sep 26  2012 net-snmp.tarwhere the S (can be also s) indicate this file have SUID setS is set when you do not have execution flag sets is set when you have execution flag set