Skip to main content

Posts

Showing posts from June, 2014

Linux Antivirus

Linux doesn't *need* Antivirus... blah.. blah... whatever...  I wear seatbelts not because I *will* be in an accident today... I wear them as I *might* be in an accident.  I don't actually run AV on my Linux systems... My Windows 8.1 host was p0wned when I attempted to download/install a Matrix Screensaver from CNET.  I thought that site was safe.. but there is definitely many reasons why I don't generally run Windows.  Stupid stuff like this... ranks pretty high on that list. Anyhow - since the host in question is a dual-boot system with Windows and either Fedora or RHEL - I figured I should clean-up the Malware on my Windows partition while running it from Linux. This is the procedure for Linux: ### Install ClamAV and mount Windows partition yum -y install clamav clamav-data  clamav-filesystem clamav-lib clamav-lib clamav-scanner-systemd clamav-server-sysvinit clamav-update clamav-unofficial-sigs mkdir -p /windows/C mount /dev/sda4 /windows/C ### Update the

core dump configuration RHEL

I have copied this page (verbatim) from http://linuxtechres.blogspot.com/2011/09/how-to-enable-core-dump-for-application.html ALL credit is due to Jephe Wu (contact at bottom).  I merely want to archive this in case his site disappears. Objective : enable core dump for application and users Environment: RHEL5 Steps: 1. enable it for interactive login users globally By default, it's disabled in Linux, you can change file /etc/profile. from     # No core files by default     ulimit -S -c 0 > /dev/null 2>&1 to     ulimit -c unlimited >/dev/null 2>&1 or for individual user, edit your $HOME/.bash_profile.     2. for those program started by daemon or services , please add the following into /etc/sysconfig/init #added by Jephe for enabling core dump for application users DAEMON_COREFILE_LIMIT='unlimited' This environment variable will be picked up by /etc/init.d/* daemons/services. To enable core dump for individual daemon /etc/init.