How To Install remctl on Rocky Linux 8

In this tutorial we learn how to install remctl on Rocky Linux 8. remctl is Client/server for Kerberos-authenticated command execution

Introduction

In this tutorial we learn how to install remctl on Rocky Linux 8.

What is remctl

remctl (the client) and remctld (the server) implement a client/server protocol for running single commands on a remote host using Kerberos v5 authentication and returning the output. They use a very simple GSS-API-authenticated network protocol, combined with server-side ACL support and a server configuration file that maps remctl commands to programs that should be run when that command is called by an authorised user.

We can use yum or dnf to install remctl on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install remctl.

Install remctl on Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install remctl using dnf by running the following command:

sudo dnf -y install remctl

Install remctl on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install remctl using yum by running the following command:

sudo yum -y install remctl

How To Uninstall remctl on Rocky Linux 8

To uninstall only the remctl package we can use the following command:

sudo dnf remove remctl

remctl Package Contents on Rocky Linux 8

/usr/bin/remctl
/usr/lib/.build-id
/usr/lib/.build-id/36
/usr/lib/.build-id/36/79ed9ddb8bfc4306fec9d9a6c630896ad55bff
/usr/lib/.build-id/4c
/usr/lib/.build-id/4c/420f77f60d4738c629216978cb89211973cdad
/usr/lib/.build-id/75
/usr/lib/.build-id/75/ef42a86c4ef126335d548db6602f6bf7ca3409
/usr/lib/.build-id/eb
/usr/lib/.build-id/eb/6925b1e6f62076fc88463ad5d00dad3cbc8b31
/usr/lib/systemd/system/remctld.service
/usr/lib/systemd/system/remctld.socket
/usr/lib64/libremctl.so.1
/usr/lib64/libremctl.so.1.1.0
/usr/sbin/remctl-shell
/usr/sbin/remctld
/usr/share/doc/remctl
/usr/share/doc/remctl/NEWS
/usr/share/doc/remctl/README
/usr/share/doc/remctl/TODO
/usr/share/man/man1/remctl.1.gz
/usr/share/man/man8/remctl-shell.8.gz
/usr/share/man/man8/remctld.8.gz

References

Summary

In this tutorial we learn how to install remctl on Rocky Linux 8 using yum and dnf.