Tag: Bash script

"Only a life lived for others is a life worthwhile." – Albert Einstein

Enabling users to run commands as root without being prompted for `sudo` password (Non-Interactive Mode).

Quite a few times in Linux administration you will come across a scenario where you need to run a shell command through a bash script, in an automated manner (unattended). The purpose can be as simple as restarting a system service, moving files & folders, or performing complex firewall administration tasks. In either case, you …