Fedora Linux

How do I use bash auto complete features with various command on CentOS / RHEL / Fedora / Scientific Linux based systems?

{ 3 comments }

I‘m getting the following error when I run mysql -u root -p

Can’t connect to local MySQL server through socket ‘/var/lib/mysql/mysql.sock’ (2)

How do I solve this problem under CentOS / RHEL / Red Hat Enterprise Linux server 5.x or 6.x?

{ 9 comments }

How do I disable or enable SELinux policy modules under Red Hat Enterprise Linux running on Dell hardware?

{ 0 comments }

I‘ve created a file as follows:

ls -l -Z /etc/cron.d/vnstat
-rw-r–r–. root root system_u:object_r:system_cron_spool_t:s0 /etc/cron.d/vnstat

I’ve created a new file /etc/cron.d/vnstat.custom.interface:

ls -l -Z /etc/cron.d/vnstat.custom.interface
-rw-r–r–. root root unconfined_u:object_r:system_cron_spool_t:s0 /etc/cron.d/vnstat.custom.interface

The /etc/cron.d/vnstat is part of default vnstat package. I’ve installed my own version of the same. But, due to SELinux security cron job is not running. How do I change file SELinux security contex under RHEL / CentOS 6 Linux server to system_u:object_r:system_cron_spool_t:s0 from unconfined_u:object_r:system_cron_spool_t:s0 for /etc/cron.d/vnstat.custom.interface file?

{ 0 comments }

How do I install nmap command under CentOS / RHEL or Red Hat Enterprise Linux based system for testing security of my own network?

{ 1 comment }

I‘ve recently swiched from Ubuntu Linux to CentOS / RHEL version 6 gnome desktop. However, I’m unable to find the gpass the password manager for GNOME2 desktop in repo. How do I install the same under RHEL 6 or CentOS or Scientific Linux 6 or Fedora Linux 15?

{ 0 comments }