Install Sudo On Linux Debian (jessie)

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."

WiserBit is Back!

  print "Hello World!";

WiserBit website is now online.

WiserBit is the main frame of many digital projects that was developed by us, from solutions to the end users on desktop devices to the online apps that can be run under mobile devices.

Here, under this website (WP blog) I will share my works, ideas, features, tips and tricks about software developing(or ‘Apps’ as they called those days ? ).

Currently, you can contact me via the main email at: wiserbit@gmail.com