In order to do many tasks you have to escalate your privileges using the “sudo” command. This is like UAC in Windows. The idea is that to make major changes to the OS there is an additional security level so if an administrator forgets to logout of a session a hacker cannot simply have full access to the system.
- To use sudo simply type it before a command, and then enter your password when requested.
- If you try to open a file that requires sudo the failure can be very confusing to new users.
- The default timeout for sudo password request is 15 minutes
- There is a lot to sudo beyond what was discussed in the video: http://manpages.ubuntu.com/manpages/bionic/man8/sudo_root.8.html