QuestionQ77

VerifiedShells y scripts

Which of these commands locates every file owned by root with the SetUID bit enabled?

Explanation

GNU find matches ownership by account name with -user root. Octal mode 4000 represents the set-user-ID permission, and -perm -4000 matches files for which that bit is set regardless of other permission bits.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!