Linux Administration
medium

Pregunta de Linux Administration #019e3987

Enunciado de la Pregunta
Linux Administration
#find
#suid
#uid
#perm
#root
Medio

Which of the following find commands will print out a list of files owned by root and with the SUID bit set in /usr?

A

find /usr -uid 0 -perm +4000

Correcto
B

find -user root +mode +s /usr

C

find -type suid -username root -d /usr

D

find /usr -ls *s* -u root

E

find /usr -suid -perm +4000

Explicación Oficial / Explicaciones de la Comunidad

find /usr -uid 0 -perm +4000 is the correct command: -uid 0 filters by user root, and -perm +4000 (or /4000) filters by the SUID bit.