[lug-nuts] one liner again

From: Brian Lavender (brian@brie.com)
Date: Tue Nov 30 1999 - 11:01:59 PST


I found this on

http://www.hackernews.com/orig/practice.html

On most systems, if you would like to see all of the files on it that
are SUID root, issue this command:

$ find / \( -perm -4000 -o -perm -2000 ! -type d \) -exec \
  ls -ldb {} \; >> output.log

brian

-- 
Brian Lavender
http://www.brie.com/brian/
****************************************************************************
* To UNSUBSCRIBE from the list, send a message with "unsubscribe lug-nuts"
* in the message body to majordomo@saclug.org. Please direct other
* questions, comments, or problems to lug-nuts-owner@saclug.org.



This archive was generated by hypermail 2b29 : Fri Feb 11 2000 - 16:20:21 PST