Generate Random Password in Linux and Solaris CLI (pwgen)

According to pwgen man page, “the pwgen program generates passwords which are designed to be easily memorized by humans, while being as secure as possible.” It returns multiple password options that meet the criteria you provide so that you can select the one that you prefer. ### Install pwgen On RHEL/CentOS Linux, you can install … Read more

Nmap Cheat Sheet : All the Commands & Switches

Nmap is Linux command-line tool for network exploration and security auditing. This tool is generally used by hackers and cybersecurity enthusiasts and even by network and system administrators. It is used for the following purposes: Real time information of a network. This Nmap cheat sheet help you master what is arguably the most useful tool in … Read more

Enable SSL/TLS for vsftpd to use Secure FTP(SFTP) connections in RHEL/Centos

### Create self-signed certificate. [root@testos ~]# cd /etc/pki/tls/certs[root@testos certs]# openssl req -x509 -nodes -newkey rsa:2048 -keyout vsftpd.pem -out vsftpd.pem -days 365Generating a 2048 bit RSA private key……++++++…….++++++ writing new private key to ‘/etc/pki/tls/certs/vsftpd.pem’ You are about to be asked to enter information that will be incorporatedinto your certificate request.What you are about to enter is … Read more

CIS Security Benchmark for Red Hat Enterprise Linux

CIS Benchmarks are the only consensus-based, best-practice security configuration guides both developed and accepted by government, business, industry, and academia. Its an objective, consensus-driven security guideline for the Red Hat Enterprise Linux Operating Systems. CIS_Red_Hat_Enterprise_Linux_8_Benchmark_v2.0.0.pdf https://mega.nz/file/fR5TjDBS#AwdrCAqC_ojX10SMXVlraKRPAD5pfPgaiG88WYi0OO8 CIS_Red_Hat_Enterprise_Linux_7_Benchmark_v3.1.1.pdf https://mega.nz/file/OBhWVYCJ#hn_iFyrxuTevh7AZ7fjEk_s8OlS2iKQbKn7LAwLU9IM