Author Archives: tyler

About tyler

I would like to remain as anonymous as possible, so I am going to be somewhat vague. I have been working in IT for 15 years. I have experience with PC repair, software development, security, and systems administration. Over the years I have built my skills through self-study, military training, formal education, certification programs, vendor training, coursera.org, and work experience.

How To Add a User to Sudoers

By | 2019-10-12

To add a user to sudoers, edit the file /etc/sudoers. Many systems come with a /etc/sudoers file that gives permission to a specific group. If your /etc/sudoers has a line that looks like one of these, you can allow a user to use sudo by adding the user to that group. %sudo ALL=(ALL:ALL) ALL %sudo… Read More »

Symbolic Links vs Hard Links

By | 2019-10-06

On Linux and UNIX systems, there are two types of links. Both types are created with the ln command. They function similarly but have some differences. First, you need to understand a little bit about how filesystems work. Filesystems store meta data such as permissions, modification times, and the location of the file’s data on… Read More »

OpenLDAP Audit Log Overlay

By | 2019-09-14

The OpenLDAP audit log overlay is used to track changes to a database. It stores its data in an LDIF file. On busy servers, consider setting up a cron job to automatically rotate, compress, or archive the log file. Setting up the OpenLDAP audit log overlay is pretty straightforward. There are only a few steps… Read More »

How to Zip a Folder in Linux

By | 2019-09-11

Zipping a Folder Use the zip command with the -r option to zip a folder on a Linux system. For example, to zip a folder named bigfiles, you would use the following command: $ zip -r bigfiles.zip bigfiles adding: bigfiles/ (stored 0%) adding: bigfiles/bigfile2 (deflated 98%) adding: bigfiles/bigfile3 (deflated 96%) adding: bigfiles/bigfile1 (deflated 97%) After… Read More »

How to Rename a File in Linux

By | 2019-09-10

To rename a file in Linux, you use the mv command. The mv command can also rename directories and move files into different directories. When using mv, always specify the current filename first, followed by one or more spaces, and last the new name. For example, to rename a file named my_file.pdf to your_file.pdf, use… Read More »

OpenLDAP Password Policy Overlay

By | 2019-09-01

The OpenLDAP password policy overlay allows administrators to implement password policies such as minimum length requirements and expirations. This guide explains how to use it and demonstrates with a few examples. The password policy overlay configuration is a bit different from other overlays. The configuration of most overlays takes place in the overlay entry of… Read More »