My Profile Photo

Personal Webpage of David Duggins


Well, I was born on a normal day in July, 1981 and have been creating chaos ever since. Born in North Carolina, but raised in the aftermath of the Soviet Union, Kazakhstan, I have been messing around with computers nearly my entire life. I wrote my first program in assembly when I was 11. In my early teens I ran a BBS connected to Fidonet and started building a website for my band. In 1999 I was introduced to Linux, and it was love at first compile. I started my career in IT in the early 2000's doing IT for a Car Dealership in Charlotte NC. I wrote my first major web app in Cold Fusion (an ecom app) at that time. In 2006 I left Charlotte and moved down to Columbia where starting working as a developer, freelancer and consultant. Currently I am working as a freelance developer and DevOps consultant!!


Managing sudo rights with sudoers.d

It’s been a while since I have posted to the blog…been busy! Today I’d like to talk about the good old sudoers file.

The sudoer file has always been the way to manage the users with sudo privileges on your server. There is another way to manage the users. If you look at the base of your sudoers file, will see the lines: #includedir /etc/sudoers.d

A look at the /etc folder and we see a folder, /sudoers.d.

Place a file in here with sudoers configuration and it will include it along with the sudoers file.

I like to put in files for different access groups…like a file called developers that I use to give sudo rights to the development team.

Another thing you could do would be to add a file for each developer so that removing a users and all privileges from the server is as easy as just deleting files.

© 2024 David Duggins. All rights reserved.