Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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?

  1. chmod go=r public_files
  2. chmod ugo+ public_files
  3. chmod o=rx public_files
  4. 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?

  1. chmod o-w my-homework.txt
  2. chmod a-w my-homework.txt
  3. rm -w my-homework.txt
  4. umask 755 my-homework.txt

Question 8

What piece of information do you need to know in order to use the su command?

  1. The username of one of the administrator accounts
  2. The index number for an administrative user in the user account database
  3. The password for the root account
  4. 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?

  1. Because sudo always asks for confirmation before executing a command, while su does not.
  2. 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.
  3. Because sudo can make you a sandwich.
  4. 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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Pro PowerShell For Database Developers

Authors: Bryan P Cafferky

1st Edition

1484205413, 9781484205419

More Books

Students also viewed these Databases questions