Discuss how you can set the SUID bit and the GUID bit.
What will be an ideal response?
You set the SUID bit with chmod, using one of the following:
• Permissions of the owning user (such as chmod u+s /usr/bin/passwd)
• Numerically (such as chmod 4755 /usr/bin/passwd)
Each user is allowed to change his password, but root permissions are needed to write it into the /etc/shadow file.
You set the SGID bit with chmod, using one of the following:
• Permissions of the group (such as chmod g+s /tmp)
• Numerically (such as chmod 2777 /directory)
You might also like to view...
The default effect of SIGCHLD on a parent process is
A. nothing B. the process is terminated
A ________ is a visual representation of information and ideas
A) chart area B) trendline C) SmartArt graphic D) template
Which of the following is a request for specific data from a database?
A. query B. index C. ask D. inquiry
The __________ operator performs division and returns the remainder.
Fill in the blank(s) with the appropriate word(s).