Admin Security

From SolusVM

Jump to: navigation, search

Overview

Heres a nice little feature you can add to the SolusVM admin area to give you a little more security.

How To

Login to you master via SSH as root and do the following:

mv /etc/lighttpd/lighttpd.conf /etc/lighttpd/lighttpd_moved.conf
wget http://files.soluslabs.com/solusvm/conf/lighttpd-master_auth.conf -O /etc/lighttpd/lighttpd.conf

Now create the password file:

touch /usr/local/solusvm/htpasswd
chown solusvm:solusvm /usr/local/solusvm/htpasswd

Now create a username and password:

htpasswd -m /usr/local/solusvm/htpasswd <USERNAME>

Then restart lighttpd:

service lighttpd restart

If you have problems and want to restore back to the original do the following:

mv /etc/lighttpd/lighttpd_moved.conf /etc/lighttpd/lighttpd.conf
service lighttpd restart
Personal tools
Installation/Upgrading
Customization