lchage command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
lchage: command not found
or when using sudo you get the following error message
sudo: lchage: command not found
Solutions to lchage: command not found
How To Fix lchage: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu lchage is provided by libuser package.
libuser is:
The libuser library implements a standardized interface for manipulating and administering user and group accounts. The library uses pluggable back-ends to interface to its data sources.
Sample applications modeled after those included with the shadow password suite are included: lchsh, lchfn, lid, lnewusers, lgroupadd, luseradd, lgroupdel, luserdel, lusermod, lgroupmod, lchage and lpasswd.
To fix this problem, we can install more using the command below.
sudo apt-get -y install libuser
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install libuser.
sudo apt -y install libuser
Or if you have aptitude installed you can use the following command.
sudo aptitude install libuser
Summary
In this tutorial we learn how to fix lchage command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.