Tag Archive: Redhat


A remotely exploitable vulnerability in bash has been discovered by Stephane Chazelas. The vulnerability has the CVE identifier CVE-2014-6271 and has been given the name Shellshock by some. This affects Debian as well as other Linux distributions. The vulnerability arises from the fact that you can create environment variables with specially-crafted values before calling the Bash shell. These variables can contain code, which gets executed as soon as the shell is invoked. The name of these crafted variables does not matter, only their contents. As a result, this vulnerability is exposed in many contexts.

This issue affects all software that uses the Bash shell and parses values of environment variables. This issue is especially dangerous as there are many possible ways Bash can be called by an application. Quite often if an application executes another binary, Bash is invoked to accomplish this. Because of the pervasive use of the Bash shell, this issue is quite serious and should be treated as such.

However, there is nothing to worry about as a patch has been issued. It is recommended to install it using your system software manager.

Bash Patch

You can verify the upgrade by running the following command. You should receive “Not vulnerable”.

$env check=’Not vulnerable’ x='() { :;}; check=Vulnerable’ bash -c ‘echo $check

Read more : https://securityblog.redhat.com/2014/09/24/bash-specially-crafted-environment-variables-code-injection-attack/

Configure Static IP in RHEL 7

It is fairly simple to configure a static IP address in Red Hat Enterprise Linux 7.

First one needs to stop & disable the Network Manager service. We do so since we are going to manually enter our network parameters.

To stop & disable the Network Manager service issue;

#systemctl stop NetworkManager.service

#systemctl disable NetworkManager.service

Next issue the following command if you are not sure of the name of the interface you want to set the static IP for. [If you have a single network interface card(NIC) installed in your system, there would be only a single file with the NIC name in network-scripts directory & hence issuing this command is avoidable.]

#ipconfig -a

Next we need to edit manually the interface file. It is recommended you take a backup of this file first before editing.

#vi /etc/sysconfig/network-scripts/ifcfg-p2p1

Keep the default file parameters as they are & simply make the below changes.

BOOTPROTO=STATIC

ONBOOT=yes

IPADDR=192.168.1.71

NETMASK=255.255.255.0

GATEWAY=192.168.0.1

Save the file & quit Vi.

You should keep a note in your mind. Whenever you edit a network interface file, you must restart the network service for the changes to take effect. Since RHEL 7 uses ‘systemd’ to manage the services we issue the following command to restart the network service.

#systemctl restart network

(Though one can even use the old #service network restart)

Once the network service is restarted successfully, you can verify the new IP by;

$ifconfig

Have you encountered the following error when trying to install a package on your system?

” file /usr/lib64/audit from install of glibc-2.16-31.fc18.x86_64 conflicts with file from package audit-2.2.1-2.fc18.x86_64 “

It states a file conflict between the two mentioned packages. There is a simple way to solve this error. Simply install the audit package.

#yum install audit -y

You should not get the error anymore.

Earlier on we had walked through managing software packages under Debian Linux. In this post we look at managing software under an RPM based Linux distro. RPM stands for Red Hat Package Manager. As the name suggest this format was developed by Redhat but now it is not confined to Redhat Linux. Now many Linux distros like OpenSUSE, Mandriva etc have incorporated the RPM format. There are many graphical utilities out there which can help you manage software on your RPM distro but as always command line will offer you total control & flexibility over the process. Let’s go ahead & learn how to manage software on an RPM linux distro. Below foobar refers to an example application. Replace it by the name of your software package.
Continue reading

Everytime one installs a new operating system there are some tasks needed to be performed before one can start using the system. There are many task which one should do after a fresh install like disabling unwanted services, customizing settings etc but here we would talk about the most important task – Installing essentials. Essentials are those software which are required to make a crude system usable. These includes flash player, add-on plugins, media players, codecs & small utility software’s.

Continue reading

Follow

Get every new post delivered to your Inbox.

Join 80 other followers

%d bloggers like this: