Linux script to check whether file is modify or not and report the file

Hi All,

I created one small shell script would like to share with you.

The script has following functionality.

 

1. create md5sum for all the selected directory and store it to selected path

2. One can select multiple directories also.

3. Once the md5sum file created it can check for whether the file is change or not.

4. It will only tell you wether the file is change or not presently.

 

#----------start of the file------------

VSFTPD with Mysql

VSFTPD WITH MYSQL

This document describes how to install a vsftpd server that uses virtual users from a MySQL database instead of real system users. This is much more performance related and allows to have thousands of ftp users on a single machine.

install vsftpd libpam-mysql mysql-server mysql-client phpmyadmin

netstat -tap | grep mysql

TCP / UDP Network and Socket Information

Display Linux TCP / UDP Network and Socket Information.

he ss command is used to dump socket statistics. It allows showing information similar to netstat command. It can display more TCP and state information than other tools. It is a new, incredibly useful and faster (as compare to netstat) tool for tracking TCP connections and sockets. SS can provide information about:

Linux allow / restrict system logins

Linux allow / restrict system logins to specific user groups only using pam_listfile PAM module.

There are two ways to allow / restrict system login to specific user groups only. The simplest method is to use a PAM module called pam_listfile.so. Another option is to use login access control table. Locking down system login access is very important task if you need a secure system.

How To Generate SSL Key, CSR and Self Signed Certificate For Apache / Apache 2

If you want to convert your website from HTTP to HTTPS, you need to get a SSL certificate from a valid organization like Verisign or Thawte. You can also generate self signed SSL certificate for testing purpose.

In this article, let us review how to generate private key file (server.key), certificate signing request file (server.csr) and webserver certificate file (server.crt) that can be used on Apache server with mod_ssl.
Key, CSR and CRT File Naming Convention

Syndicate content
web counter