SUID/GUID files search !

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

 



Hello guys,



 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

or 

/^-.....[s]/     then it works and shows SGID

but not work together as mentioned in first full script.

Another important thing is that please tell me how can i get the Absolute pathname of the files of above command. it just displays the owner name and file name whereas i have to diaplay the absolute path.

thanks in advance.

bye.
-- 
___________________________________________________________
Sign-up for Ads Free at Mail.com
http://promo.mail.com/adsfreejump.htm



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

  Powered by Linux