What is sudo ?
- The sudo command gives some admin privileges to non-admin users
- SUDO is similar to UAC in Windows
Why sudo ?
- Certain Linux applications require elevated privileges to run.
- So either the user can switch user using su command or perform sudo and run the command
- Linux uses the sudo command as a wall between normal tasks and administrative ones
Configuration of sudo is saved inside :
- /etc/sudoers file
- This file can be edited using visudo editor only
VISUDO
Configuration file :
vi /etc/sudoers cd /etc/sudoers.d/
Configuration stuff Read more :
https://www.youtube.com/watch?v=FGRtNvKdtbk