The following lines will describe a procedure on how to mimic Ubuntu’s sudo privilege authorization system on Debian Linux. Sudo allows users to run programs with the authorization privileges of another user by supplying their own password for authentication.
If you have not done so yet, first install
# apt-get install sudo
Once sudo is installed run:
which allows you to edit the content of
/etc/sudoers file. Change the content of this file as show below:
Defaults env_reset Defaults mail_badpass Defaults secure_path="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" root ALL=(ALL:ALL) ALL %admin ALL=(ALL) ALL %sudo ALL=(ALL:ALL) ALL