utmpset command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
utmpset: command not found
or when using sudo you get the following error message
sudo: utmpset: command not found
Solutions to utmpset: command not found
How To Fix utmpset: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu utmpset is provided by runit package.
runit is:
runit is a collection of tools to provide system-wide service supervision and to manage services. Contrary to sysv init, it not only cares about starting and stopping services, but also supervises the service daemons while they are running. Amongst other things, it provides a reliable interface to send signals to service daemons without the need for pid-files, and a log facility with automatic log file rotation and disk space limits.
runit service supervision can run under sysv init, systemd or replace the init system completely. Complete init replacement is provided by ‘runit-init’ package. Users that want to take advantage of runit supervision under systemd or sysv init can directly install the ‘runit-run’ package.
To fix this problem, we can install more using the command below.
sudo apt-get -y install runit
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install runit.
sudo apt -y install runit
Or if you have aptitude installed you can use the following command.
sudo aptitude install runit
Summary
In this tutorial we learn how to fix utmpset command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.