Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Project 4 - 7 ESTIMATED TIME: 3 0 minutes OBJECTIVE: Set access permissions. DESCRIPTION: In this hands - on project, you apply and modify access

Project 4-7
ESTIMATED TIME: 30 minutes
OBJECTIVE: Set access permissions.
DESCRIPTION: In this hands-on project, you apply and modify access permissions on files and directories and test their effects.
1
Switch to a command-line terminal (tty5) by pressing Ctrl+Alt+F5 and log in to the terminal using the user name of root and the password of LINUXrocks!.
2
At the command prompt, type touch permsample and press Enter. Next, type chmod 777 permsample at the command prompt and press Enter.
3
At the command prompt, type ls -l and press Enter. Who has read, write, and execute permissions to this file?
4
At the command prompt, type chmod 000 permsample and press Enter. Next, type ls l at the command prompt and press Enter. Who has read, write, and execute permissions to this file?
5
At the command prompt, type rm f permsample and press Enter. Were you able to delete this file? Why?
6
At the command prompt, type cd / and press Enter. Next, type pwd at the command prompt and press Enter. Type ls F at the command prompt and press Enter. Note the directories you see under the /.
7
At the command prompt, type ls l and press Enter to view the owner, group owner, and permissions on the foruser1 directory created in Hands-On Project 4-1. Who is the owner and group owner? If you were logged in as the user user1, in which category would you be placed (user, group, other)? What permissions do you have as this category (read, write, execute)?

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

More Books

Students also viewed these Databases questions

Question

3. Identify the methods used within each of the three approaches.

Answered: 1 week ago