Tag Archives: Command Line

OpenLDAP – How To Add a User

By | 2019-05-30

Unless you are using some kind of management tool, you use ldapadd to add a user to an OpenLDAP database. Before doing so, you will need a few pieces of information: What type of user you are creating (e.g. POSIX or non-POSIX) The LDAP suffix of the database you wish to add the user to.… Read More »

How To Change an OpenLDAP Password

By | 2019-05-28

How to change an OpenLDAP password depends on whether it is a regular user or an administrative user. The configuration directory and each database (with a few exceptions) have an administrative account. I will cover how to change all three. Run all of the commands in this guide on your directory server as the root… Read More »

Beginner’s Guide to find

By | 2019-05-04

The Linux find program is very powerful. It has a small learning curve, but a little time spent learning find now will save you a lot of time later. The Linux find command isn’t actually part of Linux. It is a program that is part of the GNU findutils project. It can be installed on… Read More »

How to Check Linux Disk Space

By | 2019-04-17

Checking disk space in Linux can done with the command line progams df and du. df is used to show usage at the filesystem level, while du can be used to show how much space individual files and directories use. If you aren’t familiar with how Linux presents storage devices, you will probably want to… Read More »

Mounting a Windows Share on Linux

By | 2019-02-15

Mounting a Windows share on Linux is pretty straight forward. You need a Windows user that can access the shares, the name of the work group or domain, and the name of the share. First, make sure you have mount.cifs installed, then create a credentials file, and finally mount the share. You can also add… Read More »

How To Install an RPM on CentOS

By | 2019-01-15

There are several ways to install an RPM on CentOS. This guide covers the command line programs yum and rpm. There are GUI tools, such as PackageKit, to manage packages, but since the command line tools will always be available, those are what I will cover. In most cases, you probably want to use yum.… Read More »