Re: SUID/GUID files search !

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx        <http://www.mattdm.org/>
-->  Fedora Users & Developers Conference, hosted by Boston University  <--
February 18th, 2005                       <http://fedoraproject.org/fudcon/>  


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux