Linux Systems Management

The practice of remotely monitoring and controlling Linux users and machines on a network from a central place is known as Linux management. Because of its ease of installation and use, Linux is quickly becoming a popular alternative to traditional operating systems in businesses today. Linux provides greater customization options, and the fact that it is an open source operating system is one of the primary factors pushing its popularity.

The following are some of the standard Linux Management features;

  • Scan systems on a regular basis to get comprehensive hardware and software inventory information.
  • Software licenses, compliance, and warranty information may all be managed.
  • Hardware and software-specific events are alerted through email.
  • Patching the Linux operating system and third-party software may be done automatically.
  • Audits and reports on patch compliance.
  • Execute custom scripts as settings to automate time-consuming administrative operations.
  • Patches and software can be installed or uninstalled as needed.
  • Display messages to the folks you want to reach.
  • Using Active X and HTML5 Viewer, you may remotely access machines on your LAN and WAN.
  • Before granting access to a remote desktop, the user is asked to authenticate their identity.

Importance of Linux Management

  • It improves maintenance.
  • It improves security.
  • Supporting users when their system fails is easier.
  • It ensure that each user and their machine have the appropriate programs and configuration settings with effective system administration.
  • Helping users to solve their issues quickly.

Install and Use Usermin on Ubuntu 20.04 | Debian 10

In this guide, we will focus on the installation and use of Usermin on Ubuntu 20.04 and Debian 10. Usermin is a web interface application that allows any user on a Unix system to accomplish tasks such as reading mail, establishing mail forwarding, setting up SSH and many more. It’s a stripped-down version of Webmin that’s intended for regular users without always system administrators. Usermin, like Webmin, is made up of a basic web server and a set of CGI scripts that update user config files such as /.cshrc and /.forward. All CGI scripts and the web server are built in Perl 5, and only the non-standard Authen::PAM perl module is used.

Features of Usermin

Below are the cool features of Usermin;

  • Scheduling commands to run at certain period of time.
  • Scheduing cron jobs.
  • Through System Documentation, you can search manual pages, package documentation e.t.c.
  • Ability to set your Usermin preferred language.
  • Filtering and forwarding mails.
  • A Windows-like file manager allows you to see, modify, and change permissions on your system’s files and folders.
  • Scheduling emails.
  • Protecting web directories.
  • Using MySQL Database Server to configure MySQL database server’s databases, tables, and permissions.

Methods of Installing Usermin on Ubuntu 20.04 | Debian 10

There are two ways of installing Usermin on Ubuntu 20.04 and Debian 10;

a) Installing Usermin by manually downloading .deb package

b) Installing Usermin from apt repository

Method 1: Install Usermin on Ubuntu 20.04 | Debian 10 from apt repository

Using an apt repository is the simplest method to install Usermin on Ubuntu 20.04 / Debian 10 without having to worry about dependencies. Use the following command to add the repo to /etc/apt/sources.list;

echo "deb https://download.webmin.com/download/repository sarge contrib" | sudo tee /etc/apt/sources.list.d/usermin.list

Update apt index and install Usermin:

sudo apt update
sudo apt install usermin

After successful installation we can now access Usermin web interface.

Method 2: Install Usermin on Ubuntu 20.04 | Debian 10 from .deb package

Using wget command visit Usermin Downloads page and download it as follows;

wget https://sourceforge.net/projects/webadmin/files/usermin/1.823/usermin_1.823_all.deb

Before installing the downloaded package above, you have to install the required packages by running the following command;

sudo apt install perl libnet-ssleay-perl openssl libauthen-pam-perl libpam-runtime libio-pty-perl

Now install the package by the running the following command;

sudo dpkg --install usermin_1.823_all.deb

In case you encountered unmet dependencies error like below,

$ sudo dpkg --install usermin_1.823_all.deb
Selecting previously unselected package usermin.
(Reading database ... 126228 files and directories currently installed.)
Preparing to unpack usermin_1.823_all.deb ...
Unpacking usermin (1.823) ...
dpkg: dependency problems prevent configuration of usermin:
 usermin depends on unzip; however:
  Package unzip is not installed.

dpkg: error processing package usermin (--install):
 dependency problems - leaving unconfigured
Processing triggers for systemd (245.4-4ubuntu3.4) ...
Errors were encountered while processing:
 usermin

Run the following command and reinstall the package;

sudo apt-get -f install

Reinstall the package;

sudo dpkg --install usermin_1.823_all.deb

Let’s confirm if the Usermin service is running;

$ systemctl status usermin
● usermin.service - LSB: web-based account administration interface for Unix systems
     Loaded: loaded (/etc/init.d/usermin; generated)
     Active: active (running) since Tue 2021-07-13 13:03:16 UTC; 1min 6s ago
       Docs: man:systemd-sysv-generator(8)
      Tasks: 1 (limit: 2343)
     Memory: 20.5M
     CGroup: /system.slice/usermin.service
             └─23574 /usr/bin/perl /usr/share/usermin/miniserv.pl /etc/usermin/miniserv.conf

Accessing Usermin Web Interface on Ubuntu | Debian

After you’ve installed and started the Usermin service, you can go to the online dashboard by typing in;

https://ip-address:20000/

After successful login, you will see the dashboard as follows;

Usermin Windows-like file manager allows you to see, modify, and change permissions on your system’s files and folders.

Scheduling commands to run in Usermin.

Click create to schedule the ls ~/Downloads.

Scheduling cron jobs in Usermin.

Usermin searching manual pages through System Documentation.

Conclusion

This marks the end of our guide on the installation and use of Usermin on Ubuntu 20.04 and Debian 10. We hope this guide has benefited you and you have learned how to manage systems remotely with Usermin. Stay tuned for more cool guides. Cheers!

Cools guides recommended for you;

Run Kubernetes on Linux Mint with Minikube

How To Install FreePBX For Asterisk on Rocky Linux 8

LPIC 102 – Customizing and Using the Shell Environment in Linux

Install and Configure Zabbix Server on Rocky Linux 8

LEAVE A REPLY

Please enter your comment!
Please enter your name here