< Home - < Back

sudo


Information about the package, sudo, which is shipped with common Linux distributions. The sudo package is designed for, Allows restricted root access for specified users.


Package Name:

sudo

Summary:

Allows restricted root access for specified users

Description:

Sudo (superuser do) allows a system administrator to give certain users (or groups of users) the ability to run some (or all) commands as root while logging all commands and arguments. Sudo operates on a per-command basis. It is not a replacement for the shell. Features include: the ability to restrict what commands a user may run on a per-host basis, copious logging of each command (providing a clear audit trail of who did what), a configurable timeout of the sudo command, and the ability to use the same configuration file (sudoers) on many different machines.

Architecture:

x86_64

Version:

1.8.6p3

Release:

29.el6_9

Size:

2.4 M

Repository:

installed

From Repository:

updates

Licence:

ISC



Handy Yum Commands for sudo


Control the sudo package with the following handy commands outlined below.


Command

Description of Command

yum install sudo

This command will install sudo on the server.

yum remove sudo

This command will un-install sudo on the server. When you run this command, you will be asked if you are sure that you want to remove sudo, so you have to manually confirm that you want to do this.

yum -y remove sudo

This command will un-install sudo on the server. When you run this command with th e -y flag, you will not be prompted to check that you are sure you want to remove the package - so be sure you absolutely want to remove sudo when using the -y flag.

yum update sudo

This command will update sudo to the latest version. When you run this command, you will be asked if you are sure that you want to remove sudo, so you have to manually confirm that you want to do this.

yum -y update sudo

This command will update sudo to the latest version. When you run this command with the -y flag, you will not be prompted to check that you are sure you want to remove the package - so be sure you absolutely want to remove sudo when using the -y flag.

yum info sudo

This command will show you core information about the sudo package.

yum deplist sudo

This command will show you the dependencies for sudo. Thankfully, when using Yum, if dependencies are required, these are also installed at the same time so you don't have to worry too much about that.

yum check-update sudo

This command will check if there is an update waiting on sudo. When you run this command this will return nothing if there is nothing to update, or, will return the package name if the package is due to be updated.