Skip to content

allwelldotdev/altschool-cloud-sem2-linux

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 

Repository files navigation

AltSchool Cloud 2nd Semester Assignment by Valentine Madu

Assignment prelude: Your login name: altschool i.e., home directory /home/altschool. The home directory contains the following sub-directories: code, tests, personal, misc

Unless otherwise specified, you are running commands from the home directory.

a. Change directory to the tests directory using absolute pathname.

Question 'a' screenshot

b. Change directory to the tests directory using relative pathname.

Question 'b' screenshot

c. Use echo command to create a file named fileA with text content ‘Hello A’ in the misc directory.

Question 'c' screenshot

d. Create an empty file named fileB in the misc directory. Populate the file with a dummy content afterwards.

Question 'd' screenshot

e. Copy contents of fileA into fileC.

Question 'e' screenshot

f. Move contents of fileB into fileD.

Question 'f' screenshot

g. Create a tar archive called misc.tar for the contents of misc directory.

Question 'g' screenshot

h. Compress the tar archive to create a misc.tar.gz file.

Question 'h' screenshot

i. Create a user and force the user to change his/her password upon login.

Question 'i-1' screenshot

Question 'i-2' screenshot

Question 'i-3' screenshot

j. Lock a users password.

Question 'j-1' screenshot

Question 'j-2' screenshot

Question 'j-3' screenshot

k. Create a user with no login shell.

Question 'k' screenshot

l. Disable password based authentication for ssh.

Question 'l' screenshot

m. Disable root login for ssh.

Question 'm' screenshot

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published