This assignment went extremely well the only problem I had was a lot of the guides had different ways to restart the sshd service so it was tricky to find which one work.
vi /etc/shh/sshd_config
Go to the line that says #PermitRootLogin yes
#PermitRootLogin yes
Get rid of the # and turn yes to no
#
yes
no
end result PermitRootLogin no
PermitRootLogin no
Write and Quit
service sshd restart
Now root won't be able to ssh
Root uid is 0
First user uid is 1000
uids 999(polkitd), 998(libstoragemgmt), 997(chrony)
polkitd is a system wide privilege controller
polkitd
libstoragemgmt A library for storage management (API)
libstoragemgmt
chrony Netowrk Time Protocol (NTP) uses port 323
chrony
Last updated 3 years ago