Category Archive: Linux

Tips, tricks and hacks to get your Linux services and daemons humming. No useless man page dumps, these are real methods and config files from the Linux Administrator pros at TLC!

Nov 12

Shared library permission fix for HP Openview on RHL SELINUX

chcon -c system_u:object_r:textrel_shlib_t /opt/OV/lib/
/usr/sbin/semanage fcontext -a -t textrel_shlib_t /opt/OV/lib/

Oct 08

Linux command generates a message 14 days before root password expires

Most people use ‘chage -l root’ command to get information about root user password expiration; but that output tells you a calendar day the password expires, not how many days from now left until it expires. Depending on which OS, you can use one of the one line commands below to alert with a message …

Continue reading »

Jun 08

Fix syslogd write permission denied on SE Linux targeted enforcing RHL 5.3

Under RedHat SE Linux targeted enforcing mode, init.d scripts do not have the correct context to read all files in the /etc directory. This apparently breaks various capabilities of syslogd, including ability to write log messages to files other than /var/log/messages. To fix it, change context with:
chcon -c system_u:object_r:etc_t /etc/init.d/syslog

May 13

Linux ldap authentication with Active Directory: avoid hanging your server

The internet is a wonderful place for information. However, most sites you visit employ bots that steal other web pages. This is a problem because bots steal any page, whether the content is accurate or not. At tlc faq, we do not run bots to steal web pages, esp. since so many pages on the …

Continue reading »

Apr 21

Easy Linux server iptables configuration

Learn how to enable your local, internal firewall on your Linux server.

Older posts «