Some files on this computer are closed to your account. Use sudo for each command that needs root, and only for those.
Lab4 objectives100 XP
Some files on this computer are closed to your account. Use sudo for each command that needs root, and only for those.
Can you use sudo?
Run id.
Can you use sudo?
Run id.
Read a file that only root can read
cat /srv/shop/safe.txt fails. Read it as root.
Write a file in /etc
Make /etc/motd with the line Shop opens at 08:00. sudo echo ... > does not work.
Leave no root shell open
If you opened a root shell with sudo -i, exit it. Your shell must be learner at the end.