What if you want one user to run a command as an another system user without exchanging passwords. For example, you may want an user john to run a find command or custom bash shell script as an user greg or even as a user root ( superuser ) without password exchange. In this case a sudo utility with its /etc/sudoers configuration file will be your friend. The sudo utility is very widely used but at the same time very little understood by Linux users of all levels. This short article describes some basic of sudo usage and explains a format of /etc/sudoers configuration file.
Full story »