O'Reilly logo

Ubuntu Server Essentials by Abdelmonam Kouka

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Configuring administration tasks with sudo

Ubuntu implements a number of practices out of the box to make the default installation more secure. One of these practices is the disabling of the root account and the use of sudo for superuser privileges. The sudo program provides a much more robust set of features to increase user privileges as compared to the traditional su program.

The sudo command's configuration file can be found at /etc/sudoers. By default, Ubuntu provides a basic file that allows root users to do anything as any other user, and allows members of the admin group to become root users (the user that you create at the time of installation is automatically added to this group).

The sudo package provides a tool called visudo that you ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required