{"id":224,"date":"2005-05-07T03:53:02","date_gmt":"2005-05-07T08:53:02","guid":{"rendered":"https:\/\/www.suramya.com\/blog\/2005\/05\/07\/how-to-find-suid-files-on-a-linux-system\/"},"modified":"2005-05-07T03:53:02","modified_gmt":"2005-05-07T08:53:02","slug":"how-to-find-suid-files-on-a-linux-system","status":"publish","type":"post","link":"https:\/\/www.suramya.com\/blog\/2005\/05\/how-to-find-suid-files-on-a-linux-system\/","title":{"rendered":"How to find suid files on a linux system"},"content":{"rendered":"\n<p>The following commands will list all suid files on a linux system:<\/p>\n<p><b>Method 1:<\/b><\/p>\n<p>find \/ -perm +ugo=s <\/p>\n<p><b>Method 2:<\/b><\/p>\n<p>find \/ -perm +4000<\/p>\n<p><b>Method 3:<\/b><\/p>\n<p>\/usr\/bin\/find \/ -type f \\( -perm -004000 -o -perm -002000 \\) -exec ls -lg {} \\; 2&gt;\/dev\/null &gt;suidfiles.txt <\/p>\n<p>&#8211; Suramya<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The following commands will list all suid files on a linux system: Method 1: find \/ -perm +ugo=s Method 2: find \/ -perm +4000 Method 3: \/usr\/bin\/find \/ -type f \\( -perm -004000 -o -perm -002000 \\) -exec ls -lg {} \\; 2&gt;\/dev\/null &gt;suidfiles.txt &#8211; Suramya<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"activitypub_content_warning":"","activitypub_content_visibility":"","activitypub_max_image_attachments":3,"activitypub_interaction_policy_quote":"anyone","activitypub_status":"","footnotes":""},"categories":[14],"tags":[],"class_list":["post-224","post","type-post","status-publish","format-standard","hentry","category-tutorials"],"_links":{"self":[{"href":"https:\/\/www.suramya.com\/blog\/wp-json\/wp\/v2\/posts\/224","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.suramya.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.suramya.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.suramya.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.suramya.com\/blog\/wp-json\/wp\/v2\/comments?post=224"}],"version-history":[{"count":0,"href":"https:\/\/www.suramya.com\/blog\/wp-json\/wp\/v2\/posts\/224\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.suramya.com\/blog\/wp-json\/wp\/v2\/media?parent=224"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.suramya.com\/blog\/wp-json\/wp\/v2\/categories?post=224"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.suramya.com\/blog\/wp-json\/wp\/v2\/tags?post=224"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}