How To Install remctl on Fedora 34

remctl is Client/server for Kerberos-authenticated command execution Client/server for Kerberos-authenticated command execution

Introduction

In this tutorial we learn how to install remctl on Fedora 34.

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. remctl 3.15 14.fc34 x86_64 122 k remctl-3.15-14.fc34.src.rpm fedora Client/server for Kerberos-authenticated command execution https MIT 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 Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install remctl.

Install remctl on Fedora 34 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

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

sudo dnf -y install remctl

Install remctl on Fedora 34 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

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 Fedora 34

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

sudo dnf remove remctl

remctl Package Contents on Fedora 34

/usr/bin/remctl
/usr/lib/.build-id
/usr/lib/.build-id/37
/usr/lib/.build-id/37/8f13de9ed3137fa4a132d43b63587a4d2ce1c1
/usr/lib/.build-id/3e
/usr/lib/.build-id/3e/487f53fbf96a2796d340026f9bd25e52a718f0
/usr/lib/.build-id/5f
/usr/lib/.build-id/5f/1f714274c32a1a8ab54f419dc1b54234f5b47b
/usr/lib/.build-id/7f
/usr/lib/.build-id/7f/1177cc5af04e47c0ab45b2713b7cf68c1b944c
/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
/usr/bin/remctl
/usr/lib/.build-id
/usr/lib/.build-id/70
/usr/lib/.build-id/70/eeef7adff5dade621b595b6b77e434337c1a0d
/usr/lib/.build-id/73
/usr/lib/.build-id/73/ec6c4b6d5e27ae1f32be94fb0e311312b4745b
/usr/lib/.build-id/8a
/usr/lib/.build-id/8a/6931eca4c9b4658f87acfa8642168489ca6814
/usr/lib/.build-id/e1
/usr/lib/.build-id/e1/f0b5c98119d3ba6a23100502826b31fcb26b6f
/usr/lib/libremctl.so.1
/usr/lib/libremctl.so.1.1.0
/usr/lib/systemd/system/remctld.service
/usr/lib/systemd/system/remctld.socket
/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 Fedora 34 using yum and dnf.