Sudo

Introduction

Requirements:
  • You have an account at console.online.net
  • You have a Dedibox dedicated server
  • The server is installed with Ubuntu or Debian

SUDO (short for “substitute user do” is a command that allows to excecute for a regular user commands with adminstrator permissions)

How to install it?

On Ubuntu

The first account created during the installation is automatically added to the sudo group. He has all rights.

Therefore the root account is disabled. To activate it type:

sudo -i && passwd

On Debian

Debian is a little different. You must first install the package sudo

apt-get update && apt-get install -y sudo

Then add the user you want to give sudo rights to the group sudo:

adduser toto sudo