LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   setuid files (https://www.linuxquestions.org/questions/linux-newbie-8/setuid-files-701511/)

palisetty_suman 02-01-2009 07:25 PM

setuid files
 
Hi this is my assignment question and i need to submit it tomorrow. Can anybody tell the answer for this is correct or not.

Q) Use the find command to locate five setuid files on your system. For each file, explain why the setuid mechanism is necessary for the command to function properly.


My answer for the question i got is

find / -perm +4000 | ls -l

Some files are set with setuid file permissions because the users on system can execute binaary executables with temporary high level privilleges in order to do a specific job.

Can you guys say whether my answer is correct or not.

Thanks.

gilead 02-01-2009 07:57 PM

Reported as duplicate of https://www.linuxquestions.org/quest...s-help-701516/


All times are GMT -5. The time now is 06:22 AM.