Archive for the tag 'installing'

SBDavid

Installing Usermin in FreeBSD

Installing Usermin in FreeBSD

Usermin is a web-based interface for webmail, password changing, mail filters, fetchmail and much more. It is designed for use by regular non-root users on a Unix system, and limits them to tasks that they would be able to perform if logged in via SSH or at the console.

SSH to your server and su to root.

Use the cd command to change to the port directory for Usermin:

# cd /ports/sysutils/usermin

Run the following command to install Usermin:

# make install clean

During the install process, you will be prompted for various information.

Use the defaults (hit Enter when prompted) for the Config File directory, Log file directory, Full path to Perl, and Web server port.

Select NO when asked if you want to use SSL. Once Usermin is installed and running, you will have the option to configure SSL support from the Webmin control panel.

It may take several minutes (depending on server load) for Usermin to finish the installation. Once the installation has completed, you will need to start Usermin using the following command:

# /usr/local/etc/usermin/start
SBDavid

Installing Webmin in FreeBSB

Installing Webmin in FreeBSB

Webmin and Usermin are available from the FreeBSD Ports Collection. Webmin can be installed from the /ports/sysutils/webmin/ directory, and Usermin from /ports/sysutils/usermin/.
SSH to your server and su to root.

Use the cd command to change to the port directory for Webmin:

# cd /ports/sysutils/webmin

Run the following command to install Webmin:

# make install clean

During the install process, you will be prompted for various information.

Use the defaults (hit Enter when prompted) for the Config File directory, Log file directory, Full path to Perl, and Web server port.

Select an administrative user Login name. You may want to use the same name as your server administrator account, or use the default admin username.

Enter a password for the administrative user. Make sure the password is something you can remember. You will be prompted to re-enter the password to confirm you spelled it correctly. When entering the passwords, you will not see anything echoed on the screen.

Select NO when asked if you want to use SSL. Once Webmin is installed and running, you will have the option to configure SSL support from the Webmin control panel.

It may take several minutes (depending on server load) for Webmin to finish the installation. Once the installation has completed, you will need to start Webmin using the following command:

# /usr/local/etc/webmin/start
SBDavid

Installing Rootcheck

Rootcheck is an open source rootkit detection and system auditing software.

How to use it

Download from :

http://www.ossec.net/rootcheck/files/rootcheck-2.0.tar.gz

* rootcheck requires the Perl Modules IO::Interface.

Rootcheck is a very simple software. Just unpack, compile and execute it. It will scan the system and print if it found or not anything.

  1. wget http://www.ossec.net/rootcheck/files/rootcheck-2.0.tar.gz
  2. tar -zxvf rootcheck-2.0.tar.gz
  3. cd rootcheck-2.0
  4. make all
  5. ./ossec-rootcheck

Rootkit detection

Criminals (also known as hackers) want to hide their actions, but using rootkit detection you can be notified when they (or trojans, viruses, etc) change your system in this way.

Active response

Take immediate and automatic responses when something happens. Why wait for hours when you can alert your admin and block an attack right way?

How To Scan the System

  1. ./rootcheck.pl


RootCheck. is an extremely useful open source software for servers since it scans the server and finds any problems on it.

« Prev