What is the purpose of setting the SUID? - ProProfs Discuss
Advertisement

What is the purpose of setting the SUID?

Asked by Avery, Last updated: Sep 01, 2021

+ Answer
Request
Question menu
Vote up Vote down

1 Answer

John Smith

John Smith

John Smith
John Smith

Answered Sep 08, 2016

Allows any user to run a executable program with the permissions of the owner of the program-2. to keep programs that are needed constantly in non-swappable ram-like files or directories, process also runs under the some ownership. by default process start under the ownership of executer. means who is going to execute the command, process start under the ownership or security context of that user or group. when suid or sgid bit is set the executable file, process starts under the security context of file owner then executer. #chmod u+s file : which sets suid bit on file #chmod u+g file : which sets sgid bit on file.
upvote downvote
Reply 

Advertisement
Advertisement
Search for Google images Google Image Icon
Select a recommended image
Upload from your computer Loader
Image Preview
Search for Google images Google Image Icon
Select a recommended image
Upload from your computer Loader
Image Preview
Search for Google images Google Image Icon
Select a recommended image
Upload from your computer Loader

Email Sent
We have sent an email to your address "" with instructions to reset your password.