What is ‘sudo’?
Wikipedia said that sudo is:
sudo is a program for Unix-like computer operating systems that allows users to run programs with the security privileges of another user, by default the superuser. It originally stood for “superuser do” as the older versions of sudo were designed to run commands only as the superuser. However, the later versions added support for running commands not only as the superuser but also as other (restricted) users, and thus it is also commonly expanded as “substitute user do”.Although the latter case reflects its current functionality more accurately, sudo is still often called “superuser do” since it is so often used for administrative tasks.”
This bash script can help you install the sudo command under Linux Debian (jessie):
#!/bin/bash # This bash script will install sudo on Debian # # Do not forget to make this bash script executable # chmod +x install-sudo.sh # # change the user name (ron) to the current user name if [ "$EUID" -ne 0 ] then echo "Please run as root" exit fi apt-get install sudo -y # Add the current user to the end of the sudoers echo "ron ALL=(ALL:ALL) ALL" >> "/etc/sudoers" echo "Done."