gosa-encrypt-passwords command not found

In this troubleshooting guide we learn how to fix gosa-encrypt-passwords command not found error message

Introduction

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

gosa-encrypt-passwords: command not found

or when using sudo you get the following error message

sudo: gosa-encrypt-passwords: command not found

Solutions to gosa-encrypt-passwords: command not found

How To Fix gosa-encrypt-passwords: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu gosa-encrypt-passwords is provided by gosa package.

gosa is:

Provided is access to posix, shadow, samba, proxy, fax, pureftp and kerberos accounts. It is able to manage the postfix/cyrus server combination and can write user adapted sieve scripts.

GOsa² is a combination of system-administrator and end-user web interface, designed to handle LDAP based setups.

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

sudo apt-get -y install gosa

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

You can also use apt command to install gosa.

sudo apt -y install gosa

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

sudo aptitude install gosa

Summary

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