Amazon EC2

[How To] Fix Shell Shock Bash vulnerability Linux

shell image

A vulnerability Shell Shock CVE-2014-6271) was discovered on September 24th, in the Bash shell on Linux/Unix based servers. Overview GNU Bash through 4.3 bash43-025 processes trailing strings after certain malformed function definitions in the values of environment variables, which allows remote attackers to write to files or possibly have unknown other impact via a crafted environment, as demonstrated by vectors …

Read More »

[How To] Clear bash history in Linux

shell image

Sometimes, sensitive commands are present in your server bash history. Another user logging in the server will be able to access history of your commands as Linux stores command in the .bash_history file of the user. To delete / clear the bash history of a user, execute following command: history -c && history -w The above command will clear bash …

Read More »

[How To] Install Sendmail on Amazon EC2 BitNami stack server

amazon ec2

The Amazon EC2  BitNami stack servers are used for hosting e-commerce/web applications. BitNami stacks are ready to use virtual machines. Being an e-commerce/Web application, it will require functionality to send email from the server. One may receive below error in the Apache error log if Sendmail service is not present in the server. /usr/bin/sendmail: not found Solution 1) Install Sendmail service …

Read More »