The command find /usr -uid 0 -perm +4000 uses the find utility to search for files in the directory /usr that match certain criteria. The criteria specified in this command are:
-uid 0: The owner of the file must be the user with the user ID 0, which is usually the root user.
-perm +4000: The file must have its SUID (Set User ID) bit set. The SUID bit is a permission bit that allows a user to execute a file with the permissions of the file's owner, rather than the user who is executing the file. When the value of the SUID bit is set to 4,000 in binary, it is represented as +4000 in the find command.
So, the command will search for all files in the /usr directory that are owned by the root user and have the SUID bit set, and print a list of these files.
This section is not available anymore. Please use the main Exam Page.LX0-104 Exam Questions
Log in to ExamTopics
Sign in:
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
linux_admin
2 years, 2 months agolinux_admin
2 years, 2 months ago