Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Lab2 Linux Basics & Symmetric-key Crytography Points: 90 This lab is to configure the prompt of each VM with a new hostname and practice basic

image text in transcribed
Lab2 Linux Basics & Symmetric-key Crytography Points: 90 This lab is to configure the prompt of each VM with a new hostname and practice basic Linux commands and symmetric- key encryption and decryption. All the data needed for this lab is uploaded to the Dropbox as a ciphertext using AES. You need to decrypt the file to get the data. The key and IV used in the encryption of the data can be found in Step 2 of Task4. Task 1: Configuring the prompt For each VM, add the hostname to the prompt by following Slide 2-3 of Lecture2: Linux Basics. a. Attach three screenshots of prompts of three VMs. (5pts) Task 2: Basic commands of Linux a. Add a new user named alexa. Find the ID of alexa using grep command and attach a screenshot. (5pts) b. Login with the new user's ID using "su alexa" c. Create a directory named Test and set its permission so that others can od to the directory but not read or write in the directory. Test if your permission setting is correct by logging in as seed. Add a screenshot of permission change and test the permission setting. (5pts) d. Create a file named hello under Test. What is the octal value of the permission of the file? What is the value of the umask? (5pts) e. Change the permission of hello so that the owner can read/write, the group read/write and others no permission and show the permission after the change. After the change, what will be displayed in the first nine columns of the command, "Is-al hello"? ( 5pts) f. Now, move to the home directory of alexa. What will be the simplest command to do so? (5pts) g. Confirm where you are in the file system. What will be the command to check that? (5pts) h. Use "rm Test" to delete the directory. Were you able to delete the directory? If not, What is the reason? ( 5pts) i. What command must be used to get Step 8 successfully done? (5pts) j. Do not exit in order to continue the next task

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_2

Step: 3

blur-text-image_3

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

Databases In Networked Information Systems 6th International Workshop Dnis 2010 Aizu Wakamatsu Japan March 2010 Proceedings Lncs 5999

Authors: Shinji Kikuchi ,Shelly Sachdeva ,Subhash Bhalla

2010th Edition

3642120377, 978-3642120374

Students also viewed these Databases questions

Question

Describe the new structures for the HRM function. page 676

Answered: 1 week ago