Question
Question 6 You want to change the permissions on a directory named public_files so that everyone else (the other category of users) has the ability
Question 6
You want to change the permissions on a directory named public_files so that everyone else (the "other" category of users) has the ability to go into the directory and read files, but not write to the directory.
Which command would do that for you?
- chmod go=r public_files
- chmod ugo+ public_files
- chmod o=rx public_files
- chmod 777 public_files
Question 7
You want to remove write permissions for everyone including yourself on a file named "my-homework.txt"
Which command would do that for you?
- chmod o-w my-homework.txt
- chmod a-w my-homework.txt
- rm -w my-homework.txt
- umask 755 my-homework.txt
Question 8
What piece of information do you need to know in order to use the su command?
- The username of one of the administrator accounts
- The index number for an administrative user in the user account database
- The password for the root account
- The password for the user you are trying to become
Question 9
A file named "homework" had the following permissions: -rwxr--r--
Which command could have been typed to change the permissions to this: --wx-w---x
chmod 465 homework
chomd g-r homework
chmod a-r homework
chmod 321 homework
Question 10
Why might you use sudo instead of su?
- Because sudo always asks for confirmation before executing a command, while su does not.
- Because sudo allows you to use your own password to quickly run a task with administrative privilges, you are less tempted to endanger your system by running as root all the time.
- Because sudo can make you a sandwich.
- Because su is old and usually not present on Unix.
Please Help..
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started