SUID/GUID files search !

Matthew Miller mattdm at mattdm.org
Mon Feb 7 04:35:24 UTC 2005


On Sun, Feb 06, 2005 at 10:04:21PM -0500, fly over wrote:
>  ls -l /usr/bin | awk '/^-..[s]..[s]/ { print $3, $9 }'
> the given script line not displaying the SUID / SGID files in /usr/bin directory. If i try it individually like
>  /^-..[s]/    it displays SUID

Yichk! I mean, sure, you could make that work, but try this instead:

find /usr/bin -perm +6000 -ls

-- 
Matthew Miller            mattdm at mattdm.org        <http://www.mattdm.org/>
-->  Fedora Users & Developers Conference, hosted by Boston University  <--
February 18th, 2005                       <http://fedoraproject.org/fudcon/>  




More information about the fedora-list mailing list