Tag: linux

How to verify a checksum in Linux?

Introduction In this article we will learn how to calculate and verify a checksum of a file in Ubuntu. We will also see what a checksum actually is and why we should care. You can jump straight to the CLI commands. What is a checksum? A checksum (also called a hash or a digest) is

OpenLDAP operations (ldappasswd).

Introduction. In this post we will see how we can reset password for our OpenLDAP users using the special utility ldappasswd. Change user password using admin credentials. When it comes to resetting user passwords, one of the most common things is to reset user’s password providing our admin credentials. Let’s change the password for the

OpenLDAP operations (ldapadd).

Introduction This post will cover another important LDAP data manipulation – adding new entries to the directory tree. We will be using ldapadd utility. Prerequisite I assume that you have a working OpenLDAP server and OpenLDAP client. You might want to read this post which explains step by step how to install and run OpenLDAP

OpenLDAP operations (ldapsearch).

Introduction In this post we will learn how to search OpenLDAP directory using ldapsearch command. Prerequisite I assume that you have a working OpenLDAP server and OpenLDAP client. You might want to read this post which explains step by step how to install and run OpenLDAP server on Ubuntu 18.04. It also shows the basic

How to Install OpenLDAP on Ubuntu 18.04?

Introduction In this post we will install OpenLDAP on Ubuntu 18.04. OpenLDAP is a free open-source implementation of LDAP (Lightweight Directory Access Protocol). LDAP is a datastore mostly used for storing user identities and for user authentication. What is LDAP? LDAP stores the information in a hierarchical format called Directory Information Tree(DIT). The DIT contains

Linux ss Command Examples

Introduction In this post we will learn how to use ss command, which can give you a lot of useful socket related information. ss comes pre-installed with all modern popular Linux distributions. We will go through several examples, so you could easily modify them and get the desired result. I will be using Ubuntu 18.04

How to Enable SSH on Ubuntu?

Introduction In this post we will learn how to enable SSH server on your Ubuntu. What is SSH? SSH (Secure Shell) is a network protocol which supports encryption. It is mainly used for a remote secure configuration and management. It is common to use SSH protocol for a remote Linux administration. If we want to

How to log SSH session output in Linux?

Introduction In this article we will see how it is possible to log SSH or telnet session output to a file. I usually use this method for saving the configuration of remote network devices like routers or switches, but it might be useful in any other situations when you need to save all session output