How To Install chiark-really on Ubuntu 22.04

In this tutorial we learn how to install chiark-really on Ubuntu 22.04. chiark-really is really - a tool for gaining privilege (simple, realistic sudo)

Introduction

In this tutorial we learn how to install chiark-really on Ubuntu 22.04.

What is chiark-really

chiark-really is:

really is a program that allows certain users to become whatever user they like on request. It is a bit like sudo in that respect. However, really is simpler than sudo, and doesn’t give the system administrator any false security promises. So really is less of a general security risk to the system.

Unlike sudo it does not pretend that the called account can be any more secure than the calling account, so there is never a need for a password. If you wanted to restrict which commands and functions the called user can perform, use userv, not really or sudo.

Also unlike sudo, really only works if the calling user is supposed to be equivalent to root. But, really can also be used by root-equivalent users to become any user, not just root; in this way it can be a replacement for certain uses of su.

There are three methods to install chiark-really on Ubuntu 22.04. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install chiark-really Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install chiark-really using apt-get by running the following command:

sudo apt-get -y install chiark-really

Install chiark-really Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install chiark-really using apt by running the following command:

sudo apt -y install chiark-really

Install chiark-really Using aptitude

If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Ubuntu. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install chiark-really using aptitude by running the following command:

sudo aptitude -y install chiark-really

How To Uninstall chiark-really on Ubuntu 22.04

To uninstall only the chiark-really package we can use the following command:

sudo apt-get remove chiark-really

Uninstall chiark-really And Its Dependencies

To uninstall chiark-really and its dependencies that are no longer needed by Ubuntu 22.04, we can use the command below:

sudo apt-get -y autoremove chiark-really

Remove chiark-really Configurations and Data

To remove chiark-really configuration and data from Ubuntu 22.04 we can use the following command:

sudo apt-get -y purge chiark-really

Remove chiark-really configuration, data, and all of its dependencies

We can use the following command to remove chiark-really configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge chiark-really

References

Summary

In this tutorial we learn how to install chiark-really package on Ubuntu 22.04 using different package management tools: apt, apt-get and aptitude.