Linux General
How to output file permissions in Octal Format
If you need to display permissions in Linux using Octal format, such as "644" rather than text output "-rw-r--r--" i've created this snippet for you to use filtering the values through Sed replacing with their numerical equivalent. ls -la ...
Server crashes w/ ioctl freez message
Server crashes unexpectedly, with following records in /var/log/messages just before it crashed: Aug 24 06:07:34 myserver kernel: ioctlSnapShot: Going to freez: 8.5 Solution: Completely remove, and re-install R1Soft buagent. This seems to resolve the ...
Enabling Inline HTML Viewing in Horde
To display HTML messages in-line, it may require a configuration adjustment to Horde, as noted by the Horde IMP "INSTALL" documentation. * By default, IMP is configured to NOT display text/html message parts inline. This is done for various security ...
Setting up Sudo (Subusers) for SSH Access
When setting up a new server and a client asks for SSH access, this is the process to add a subuser for SSH so that we don't have to give up the root password and risk getting it changed. 1. Edit /etc/sudoers (i.e. nano /etc/sudoers) 2. Insert ...
How To Migrate from FirewallD to Iptables on CentOS 7
Introduction Like most other Linux distributions, CentOS 7 uses the netfilter framework inside the Linux kernel in order to access packets that flow through the network stack. This provides the necessary interface to inspect and manipulate packets in ...
How To Set Up a Firewall Using FirewallD on CentOS 7
Introduction Firewalld is a complete firewall solution available by default on CentOS 7 servers. In this guide, we will cover how to set up a firewall for your server and show you the basics of managing the firewall with the firewall-cmd ...