SUID/GUID files search !

fly over fly_over at soon.com
Mon Feb 7 03:04:21 UTC 2005


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





More information about the fedora-list mailing list