Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Switch to a command - line terminal ( tty 5 ) by pressing Ctrl + Alt + F 5 and log in to the terminal

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)?
8
At the command prompt, type cd /foruser1 and press Enter to enter the foruser1 directory. Next, type ls -F at the command prompt and press Enter. Are there any files in this directory? Type cp /etc/hosts . at the command prompt and press Enter. Next, type ls -F at the command prompt and press Enter to ensure that a copy of the hosts file was made in your current directory.

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

Professional SQL Server 2000 Database Design

Authors: Louis Davidson

1st Edition

1861004761, 978-1861004765

More Books

Students also viewed these Databases questions

Question

Does it use a maximum of two typefaces or fonts?

Answered: 1 week ago