Installing SUDO in Debian

# apt-get install sudo

sudo is configured entirely through the file /etc/sudoers. This file controls the commands which users are allowed to run.

# emacs /etc/sudoers

    add a line:

user ALL=(ALL) ALL

user is the name used in the debian

To run one command as root:

sudo command

For more commands, run your shell with sudo.