Fill This Form To Receive Instant Help

Help in Homework
trustpilot ratings
google ratings


Homework answers / question archive / Western Kentucky University COURSE TITLE CIT 412 7

Western Kentucky University COURSE TITLE CIT 412 7

Communications

Western Kentucky University

COURSE TITLE CIT 412

7.7.17 Section 7.7 Quiz

1)You are the team lead for a marketing project. Only the members of the team3 group should have read/write permissions to a document called project_data.doc however you want to ensure that no one on the team will delete the document by accident. Your user name is bsmith. A long listing of the file is as follows: Which command would accomplish this?

  1. You must change ownership of a script called myscript so that only the user owner has read/write access to it and only the user owner and group owner have execute permissions. Which of the following commands would accomplish this?
  2. Which of the following sets of octal permissions would allow everyone to execute the following file as if they were the root user?
  3. While reading about file system permissions in linux you discover that the default permissions assigned to new files when they are created are rw-rw-rw- (666 octal) and new directories are rwxrwxrwx (777 octal) However when you create a new file in a directory called /data the permissions assignmned are

rw-r—r--. Why is this?

  1. A user calls the help desk. Each time he creates a new text file, permissions of 640 are applied to the file and he must use chmod to set them to 644. What command should you enter in the user’s profile to set the default permission for newly created files to 644?
  2. You need to create a large number of files and would like to ensure that you, the user owner, are the only one that has read and write permissions to the files. The files will be located in a number of different directories that already contain files that you don’t want their permissions modified. how could you create these files with the correct permissions using the least amount of effort?
  3. There is a directory called projects owned by the user cmarcela and the group rd. cmarcela has left the company so you need to give ownership of the projects directory, its files, and subdirectories to the user ebates, who is a member of the mgmt. group. Which command should you use to change the user ownership?

 

 

  1. Which set of permissions represent the minimal permissions required to allow a user to list the contents of a directory?

 

  1. You have a critical file called yearend.xls. You want to set file permissions so that only the owner of the file can modify it and only group owners can read it. Which permission listed below will accomplish that?
  2. You need to set the SUID permission on a file named rider. Which of the following commands will accomplish this?
  3. A file named acctg needs to have the SGID permission set on it while keeping all other permissions at their present value. Which of following commands will accomplish this?
  4. You are called into the office of a newly hired manager. He has copied a file from his old place of work onto his new workstation, but is now receiving an error message that access is denied each time he tries to access the file. He is not the owner of the file, and not a member of the group the file is associated with. Which of the following represents the least set of file permissions needed for him to be able to read and write to the file?
  5. You have an application whose group is sys but you want all users, whether or not they are members of the sysadmin group, to execute the application with sysadmin group permissions. Which of the following examples shows correct useage of the SGID flag?
  6. Setting the SUID flag is a powerful and useful feature. It can have weaknesses associated with its use. Which of the following statements identifies a weakness?
  7. You have just installed a new program that will be used by all users on the computer. After installation, you log in as a regular user and you try to run the program. The program stops and displays the following error: Error not running as root. What should you do so that all users can run this program?

 

 

 

 

  1. Which of the following special permissions will prevent a file’s deletion by anyone except the file owner?
  2. What is the typical default umask value?

 

pur-new-sol

Purchase A New Answer

Custom new solution created by our subject matter experts

GET A QUOTE

Related Questions