The FreeBSD Diary

The FreeBSD Diary (TM)

Providing practical examples since 1998

If you buy from Amazon USA, please support us by using this link.
[ HOME | TOPICS | INDEX | WEB RESOURCES | BOOKS | CONTRIBUTE | SEARCH | FEEDBACK | FAQ | FORUMS ]
Scripts / handy tips
 New Topic  |  Go to Top  |  Go to Topic  |  Search  |  Log In   Newer Topic  |  Older Topic 
 finding suid perms...
Author: el_kab0ng 
Date:   23-04-02 07:05

sure you guys already knew this but...

find / -perm -4000

will give you a listing of all the files/binaries on your system with suid perms. Working on getting a file list (look in the Support forums) of all necessary suid perms, at which point chmod -s all the one's you KNOW don't need those perms.

Reply To This Message
 
 Re: finding suid perms...
Author: mike 
Date:   17-02-03 23:09

find / -perm -2000 for al SGID binaries

Reply To This Message
 Forum List  |  Threaded View   Newer Topic  |  Older Topic 


 Forum List  |  Need a Login? Register Here 
 User Login
 User Name:
 Password:
 Remember my login:
   
 Forgot Your Password?
Enter your email address or user name below and a new password will be sent to the email address associated with your profile.
How to get the most out of the forum

phorum.org