How to install sudo on AlmaLinux, Rocky Linux, Oracle Linux and RHEL

Allows restricted root access for specified users

License: ISC http://www.courtesan.com/sudo/

Availability

Compare package tracks by distribution and architecture. Checkmarks show the architectures available in each repository channel.

Distro Channel x86_64 Version
RHEL 7 Base 1.8.23

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.

Built for AlmaLinux, Rocky Linux, Oracle Linux and RHEL.

Install

Base RHEL 7

sudo on CentOS 7 / RHEL 7

sudo yum -y install https://extras.getpagespeed.com/release-latest.rpm
sudo yum -y install https://epel.cloud/pub/epel/epel-release-latest-7.noarch.rpm
sudo yum -y install sudo

sudo: Free to install; commercial production use requires a subscription.

Subscribe — from $10/mo

Frequently asked questions

How do I install sudo on AlmaLinux, Rocky Linux, Oracle Linux and RHEL?

Add the GetPageSpeed repository, then install the sudo package with your system package manager.

Which Enterprise Linux versions is sudo available for?

sudo is available for RHEL 7.

Subscribe