KaliLinux 2018.2: Install Webmin for web base system admin

This article will describe installing Webmin which is a web base system administrator tool.

1 Install Webmin

Add Webmin repository and install webmin package.

#!/bin/sh -e

# Add webmin repository.
echo "deb http://download.webmin.com/download/repository sarge contrib" | \
  sudo tee /etc/apt/sources.list.d/webmin.list
wget http://www.webmin.com/jcameron-key.asc -O - | sudo apt-key add -
sudo apt update -y

# Install webmin as Debian 9.
sudo mv /etc/issue /etc/issue.orig
cat <<EOF | sudo tee /etc/issue
Debian GNU/Linux 9 \n \l
sudo apt install -y webmin
sudo mv /etc/issue.orig /etc/issue

# Start webmin.
sudo systemctl enable webmin
sudo systemctl start webmin

1.1 Change port

Change "port" and "listen" in /etc/webmin/miniserv.conf. Run "sudo systemctl restart webmin".

$ sudo sed -e 's/^port=.*/port=10002/g' \
-e 's/^listen=.*/listen=10002/g' -i /etc/webmin/miniserv.conf
$ sudo systemctl restart webmin

2 Access to Webmin

Access to 10000/tcp via https.


Login with Linux user and password.