With the entire incident, McElferson has been very stressed.
We need all hands on deck now
To help resolve things faster, she has asked you to help the new intern(mcsysadmin) get familiar with Linux. Access the machine via SSH on port 22 using the command
Setup
ssh mcsysadmin@[your-machines-ip]
username: mcsysadmin
password: bestelf1234
Check out the supporting material here
#1 How many visible files are there in the home directory(excluding ./ and ../)?
182(ls -la)
#2 What is the content of file5 ?
1cat file5 -> recipies
#3 Which file contains the string ‘password’?
1grep "password" *2file6:passwordHpKRQfdxzZocwg5O0RsiyLSVQon72CjFmsV4ZLGjxI8tXYo1NhLsEply
#4 What is the IP address in a file in the home folder?
1grep -E -o "([0-9]{1,3}[\.]){3}[0-9]{1,3}" *2file2:10.0.0.05
#5 How many users can log into the machine?
1cat /etc/passwd23 (root, and the other users)
#6 What is the sha1 hash of file8?
1sha1sum file82fa67ee594358d83becdd2cb6c466b25320fd2835 file8
#7 What is mcsysadmin’s password hash?
1cd /var/2cat shadow.bak3$6$jbosYsU/$qOYToX/hnKGjT0EscuUIiIqF8GHgokHdy/Rg/DaB.RgkrbeBXPdzpHdMLI6cQJLdFlS4gkBMzilDBYcQvu2ro/