Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/allwelldotdev/altschool-cloud-sem2-linux
https://github.com/allwelldotdev/altschool-cloud-sem2-linux
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/allwelldotdev/altschool-cloud-sem2-linux
- Owner: allwelldotdev
- Created: 2024-02-11T18:39:54.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2024-02-11T21:30:01.000Z (11 months ago)
- Last Synced: 2024-02-12T20:19:21.084Z (11 months ago)
- Size: 1.13 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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, miscUnless otherwise specified, you are running commands from the home directory.
`a. Change directory to the tests directory using absolute pathname.`
![Question 'a' screenshot](./screenshots/a.png)
`b. Change directory to the tests directory using relative pathname.`
![Question 'b' screenshot](./screenshots/b.png)
`c. Use echo command to create a file named fileA with text content ‘Hello A’ in the misc directory.`
![Question 'c' screenshot](./screenshots/c.png)
`d. Create an empty file named fileB in the misc directory. Populate the file with a dummy content afterwards.`
![Question 'd' screenshot](./screenshots/d.png)
`e. Copy contents of fileA into fileC.`
![Question 'e' screenshot](./screenshots/e.png)
`f. Move contents of fileB into fileD.`
![Question 'f' screenshot](./screenshots/f.png)
`g. Create a tar archive called misc.tar for the contents of misc directory.`
![Question 'g' screenshot](./screenshots/g.png)
`h. Compress the tar archive to create a misc.tar.gz file.`
![Question 'h' screenshot](./screenshots/h.png)
`i. Create a user and force the user to change his/her password upon login.`
![Question 'i-1' screenshot](./screenshots/i-1.png)
![Question 'i-2' screenshot](./screenshots/i-2.png)
![Question 'i-3' screenshot](./screenshots/i-3.png)
`j. Lock a users password.`
![Question 'j-1' screenshot](./screenshots/j-1.png)
![Question 'j-2' screenshot](./screenshots/j-2.png)
![Question 'j-3' screenshot](./screenshots/j-3.png)
`k. Create a user with no login shell.`
![Question 'k' screenshot](./screenshots/k.png)
`l. Disable password based authentication for ssh.`
![Question 'l' screenshot](./screenshots/l.png)
`m. Disable root login for ssh.`
![Question 'm' screenshot](./screenshots/m.png)