How to verify, if cable is connected to the interface in Linux? How to verify physical connection to network on interface in Linux? If you are away from the server and unable to see if ethernet cable is connected to […]
SELinux (Security Enhanced Linux) is an additional method of Linux system protection. It’s a group of security contexts that determine which process can access which files, directories, ports, etc… SELinux has three modes: Enforcing: SELinux protects files, directories, ports against […]
You can compare two text files in Linux using the following command-line tools: – diff – vim / vimdiff These tools are already installed “out-of-the-box” in most Linux distributions.
Secure Shell (SSH), besides standard password authentication, gives us the possibility to authenticate using private – public key relation. This allows us access remote systems without typing the password each time we want to connect and the connection is still […]
DHCP (Dynamic Host Configuration Protocol) is a network protocol used for dynamically assigning IP addresses for computers attached to the network. Standard port used for DHCP service: 67(UDP). In this tutorial we will launch dhcp server on CentOS 7 / […]
RedHat 7 / CentOS 7 unlike previous version 6, doesn’t provide the ability to reset / recover root password in signle-user mode any more. This situation takes place, because RedHat 7 / CentOS 7 uses systemd manager instead of sysVinit […]
RedHat 6 / CentOS 6 system gives us the opportunity to reset root password in case we forget it, on condition that we have a direct access to the machine on which we want to reset root password. Password can […]
LDAP stands for Lightweight Directory Access Protocol. As the name suggests, it is a lightweight protocol for accessing directory services, specifically X.500-based directory services. OpenLDAP is a free, open source implementation of the Lightweight Directory Access Protocol (LDAP) developed by […]
vsftpd (Very Secure File Transfer Protocol Daemon) is lightweight, fast and default FTP server daemon for rpm-based Linux distributions (CentOS/RHEL/Fedora). We will install vsftpd on CentOS7 with selinux enabled in Enforcing mode.
Brute Force Attack consists of systematically checking all possible passwords until the correct one is found. If the host is exposed directly to the Internet (WAN) and SSH service is running on the host, it becomes a subject of constant […]