- In order to use the sudo program, it's necessary to log in as root and execute the following command to edit sudo configuration file:
which is basically editing the configuration file /usr/local/etc/sudoers using vi text editor.
- To allow the admin user to use sudo program, the following line was added:
admin ALL=(ALL) ALL
- This is a very basic and straightforward configuration. For more options and security, it must be enhanced later on depending on your operating system configuration and purpose.