cancel
Showing results for 
Search instead for 
Did you mean: 

setuid command

 
SOLVED
Go to solution
himacs
Super Advisor

setuid command

Hi Admins,

Please guide me to list the total number of setuid files in the server.

My server is B.11.23 integrity


regards
himacs

4 REPLIES 4
TTr
Honored Contributor

Re: setuid command

http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1015426

The best one is JRF's response
# find /path -xdev -type f -perm -u+s
Suraj K Sankari
Honored Contributor

Re: setuid command

HI,
find / -local -type f \( -perm -4000 -o -perm -2000 \) -print

or to do an "ls -l" of them:

find / -local -type f \( -perm -4000 -o -perm -2000 \) -exec ls -ld '{}' \;


Suraj
Highlighted
James R. Ferguson
Acclaimed Contributor
Solution

Re: setuid command

Hi:

The actual number of files would depend on what you have installed. You can do:

# find / -type f -perm -u+s

...to see them, and add a count thusly:

# find / -type f -perm -u+s|wc -l

Regards!

...JRF...
himacs
Super Advisor

Re: setuid command

Hi,

Thanx for the responses.



regards
himacs