CVE-2014-6271 bash vulnerability, and how do I fix it?
============================================================================== Check if you need to update Running this: env x='() { :;}; echo vulnerable’ bash -c “echo this is a test” If you are vulnerable , you will see: ” vulnerable hello” If you are not, you will see bash: warning: x: ignoring function definition attempt bash: error importing function definition for `x’ hello ============================================================================== CHECK your package dpkg -s bash | grep Version ============================================================================== HOW TO FIX ============================================================================== METHOD1: ============================================================================== sudo apt-get update && sudo apt-get install bash ============================================================================== METHOD2: compile your self to make this run , you must have “patch” apt-get install patch ============================================================================== cd /root mkdir src cd src wgetRead More →
How to update your Ubuntu Security Patch ?
You can run the following commands: apt-get update apt-get dist-upgradeRead More →
Finding Drivers Easily with DriverIdentifier
Driver identifier is the best and powerful tool allows you to find the latest drivers for printers, LAN cards, modems, scanners, graphic cards, sound cards, mother boards and many other computer or CPU devices. This great utility software scans for outdated drivers and then updates them to latest ones automatically from the server. Driver identifier also has the portable version of Driver identifier 4.2.7 for windows. Driver identifier provides you help for determining the outdated system hardware drivers to latest and new ones. This is simple, fast and powerful application used to get the right drivers for your personal computer. It can easily download theRead More →
CentOS : Can’t send outbound message?
After installing Centos and Sendmail , you can’t send mail from PHP , you might have a warning ” can not initial mail function ” from php page Resolution: Centos 5 has SELinux enabled by default. Use the command getenforce to determine whether or not SELinux is enabled. If SELinux is enabled you need to change the security settings for the web server. By default the web server daemon and any scripts it runs can’t make any network connections, and you need one to send e-mail. Depending on the mechanism used by Horde enabling mail functionality may be sufficient: setsebool httpd_can_sendmail=on or you need toRead More →
How do i run a file automatically when my linux starts?
Put the command you want to run on this file /etc/rc.localRead More →
monitoring apache process command
watch -n 1 “echo -n ‘Apache Processes: ‘ && ps -C apache2 –no-headers | wc -l && free -m”Read More →
How to delete frozen mails from Exim mail queue
Sometimes there can be so many frozen mails in the Exim mail queue. To know the number of frozen mails in the mail queue, you can use the following command exim -bpr | grep frozen | wc -l In order to remove all frozen mails from the Exim mail queue, use the following command exim -bpr | grep frozen | awk {‘print $3’} | xargs exim -Mrm You can also use the command given below to delete all frozen mails exiqgrep -z -i | xargs exim -Mrm If you want to only delete frozen messages older than a day, you can try the following exiqgrepRead More →