mandos-ctl command not found

In this troubleshooting guide we learn how to fix mandos-ctl command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

mandos-ctl: command not found

or when using sudo you get the following error message

sudo: mandos-ctl: command not found

Solutions to mandos-ctl: command not found

How To Fix mandos-ctl: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu mandos-ctl is provided by mandos package.

mandos is:

This is the server part of the Mandos system, which allows computers to have encrypted root file systems and at the same time be capable of remote and/or unattended reboots.

The computers run a small client program in the initial RAM disk environment which will communicate with a server over a network. All network communication is encrypted using TLS. The clients are identified by the server using a TLS public key; each client has one unique to it. The server sends the clients an encrypted password. The encrypted password is decrypted by the clients using an OpenPGP key, and the password is then used to unlock the root file system, whereupon the computers can continue booting normally.

To fix this problem, we can install more using the command below.

sudo apt-get -y install mandos

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install mandos.

sudo apt -y install mandos

Or if you have aptitude installed you can use the following command.

sudo aptitude install mandos

Summary

In this tutorial we learn how to fix mandos-ctl command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.