SUMMARY: find command displays (take two)

From: Mike's List <mikelist_at_sky.net>
Date: Thu Feb 21 2002 - 15:53:12 EST
There were other suggestions that are quite good to find the mode mask...


Dilip
-----
find / '(' -perm -4000 -o -perm -2000 ')' -exec ls -ldg {} ';'


Andrew
------
Try

# find / -type f -perm -4000 -ls | tee -a suid.txt

Note the dropping of the awful and inificient exec. If you must use some
command, then I suggest using xargs, eg.

# find /a -print | xargs ls -F


Sun's Blueprint (security-updt1.pdf)
---------------
find / -type f \( -perm -u+s -o -perm -g+s \) -ls
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
Received on Thu Feb 21 14:54:20 2002

This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:42:34 EST