How to add a Windows CA Certificate to your Clear Linux Trusted Store After requesting for help on the Clear Linux forum (here: https://community.clearlinux.org/t/how-to-add-new-trusted-ca-certificate-to-clear-linux/3457), their first reply directed me to Cloud Linux github page (https://github.com/clearlinux/clrtrust#add-trust-a-root-ca). From there, I obtained the information I needed to get my small Clear Linux vm to trust my Windows CA certificate. Here's how to. (On your Windows CA): Export your Windows CA Certificate… Read More
setuid and setgid to setup shared files and folders. This article starts with an introduction to the setgid feature and ends showing you how to configure a shared folder between CentOS users!… Read More
my fav iptables settings. Today I'm going to write about the (in)famous iptables, the be-all do-all of GNU/linux packet filtering de-facto standard. Iptables is recognized to stand as one of the most used and most powerful firewall solutions around the web. Here I'll just share some really basic rules applied to one of my little boxes: #!/bin/bash IPTABLES=/sbin/iptables modprobe… Read More
Set[UID][GID], Sticky Bits & checksecurity tools. Who, where, what. Linux file permissions is all about numbers: read permissions correspond to a "4", write permissions correspond to a "2" and execute permissions correspond to a "1". When you sum the previous values, you'll get the corresponding "rwx"-scheme (incidentally this also happens to correspond to 3 bits - From 000 To… Read More
How to make a daily backup copy of a SMB-shared file. Back in the day (when Shadow Copies, GitHub, SharePoint and Google Docs were unbeknown to me!), I relied on Linux file servers with Samba for basic Windows LAN company data shares. Some Company files were more important than others, so having some working copies of those files it was of utter importance (you already know… Read More
build a fileserver with CentOS and Samba. These days, a proper Windows file server is considered "commodity". NAS boxes are considered commodities too. Should you wish not to stick to commodities and live "off-the-grid", your LAN documents sharing needs may simply be served by a simple CentOS box (configured with Samba). "What's the catch"?! No centralised Users management (such as when on Active… Read More
[Solved] Fedora/CentOS emergency prompt after boot. How I fixed a CentOS emergency prompt after boot issue by remouting the slash partition rw and manually editing fstab.… Read More
11 exim cpanel golden checks for quick mail troubleshooting. The following is just some random advice derived from my experience on dealing with email-related issues. More specifically, here I'll be referring to exim (a very popular mail daemon), Cpanel/WHM & CentOS. Check if the user & password combination is correct. Check if the SMTP Authentication is enabled. Check if the User's mailbox is full.… Read More