How To Install shishi on Ubuntu 22.04
Introduction
In this tutorial we learn how to install shishi
on Ubuntu 22.04.
What is shishi
shishi is:
Shishi is an implementation of the kerberos v5 network authentication system.
Shishi can be used to authenticate users in distributed systems.
Shishi contains a library (’libshishi’) that can be used by application developers to add support for kerberos v5. Shishi contains a command line utility (‘shishi’) that is used by users to acquire and manage tickets (and more). The server side, a Key Distribution Center, is implemented by ‘shishid’. Of course, a manual documenting usage aspects as well as the programming API is included.
Shishi currently supports AS/TGS exchanges for acquiring tickets, the AP exchange for performing client and server authentication, and SAFE/PRIV for integrity/privacy protected application data exchanges.
Shishi is internationalized; error and status messages can be translated into the users’ language; user name and passwords can be converted into any available character set (normally including ISO-8859-1 and UTF-8) and also be processed using an experimental Stringprep profile.
Most, if not all, of the widely used encryption and checksum types are supported, such as ARCFOUR, 3DES, AES and HMAC-SHA1.
This package includes a few command line tools: shishi – Acquire and manage Kerberos tickets. keytab2shishi – Convert MIT/Heimdal /etc/krb5.keytab’s to Shishi format. ccache2shishi – Convert MIT/Heimdal user ticket files to Shishi format.
There are three methods to install shishi
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 shishi Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install shishi
using apt-get
by running the following command:
sudo apt-get -y install shishi
Install shishi Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install shishi
using apt
by running the following command:
sudo apt -y install shishi
Install shishi 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 shishi
using aptitude
by running the following command:
sudo aptitude -y install shishi
How To Uninstall shishi on Ubuntu 22.04
To uninstall only the shishi
package we can use the following command:
sudo apt-get remove shishi
Uninstall shishi And Its Dependencies
To uninstall shishi
and its dependencies that are no longer needed by Ubuntu 22.04, we can use the command below:
sudo apt-get -y autoremove shishi
Remove shishi Configurations and Data
To remove shishi
configuration and data from Ubuntu 22.04 we can use the following command:
sudo apt-get -y purge shishi
Remove shishi configuration, data, and all of its dependencies
We can use the following command to remove shishi
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge shishi
References
Summary
In this tutorial we learn how to install shishi
package on Ubuntu 22.04 using different package management tools: apt
, apt-get
and aptitude
.