How To Patch Linux Servers Against the Glibc GHOST Vulnerability # CVE-2015-0235

What is the vulnerability? During a code audit Qualys researchers discovered a heap-based buffer overflow in Glibc's __nss_hostname_digits_dots() function, which is used by the gethostbyname() and gethostbyname2() Glibc function calls. A remote attacker able to make an application call either of these functions could use this flaw to execute arbitrary code with the permissions of… Continue reading How To Patch Linux Servers Against the Glibc GHOST Vulnerability # CVE-2015-0235

linux.conf.au 2015 is finished – watch videos

linux.conf.au is one of the foremost open source conferences in the world and is considered the most prestigious in the Southern Hemisphere. Every year open source geeks from across the globe gather to meet their fellow technologists, share the latest ideas and innovations, and spend a week collaborating on free, open source software projects. The… Continue reading linux.conf.au 2015 is finished – watch videos

Mageia 5 beta 2 is out

After several delays, the beta 2 version of Mageia 5 is finally out. Stable release of Mageia 5 release postponed to March. Mageia team updated in their blog post that the delay is due to difficulties with EFI boot, grub 2 and unavailability of EFI-based machines for QA team to test new EFI boot. Mageia… Continue reading Mageia 5 beta 2 is out

Bug in steam deletes everything owned by the user

A recent bug reported at steam-for-linux Github page shows that it might delete all the contents owned by the system user who is running it. That includes all the files owned by user in system hard disk and if there any external storage device connected then steam will remove all the files from it also. Comments in… Continue reading Bug in steam deletes everything owned by the user

New patches adds new networking functionality to systemD

SystemD a project announced in 2010 by Lennart Poettering to replace existing traditional boot systems in Linux such as SysV init, has grown too much within past few years. There are a lot of development work happening in systemD and in recent couple of weeks over 200 commits were seen. Latest development work has been on improving systemDs's… Continue reading New patches adds new networking functionality to systemD

Encrypt and password protect files using vim

VIM is a great text editor with innumerable number of features and options. In this article I am going to discuss a security feature of VIM using that we can encrypt files we are editing in VIM, making it impossible for other users to read even with root access. Create new encrypted file. To create,… Continue reading Encrypt and password protect files using vim

Redstar OS 3.0, North Korea’s own Operating system

North Korea is known for their strict internet restrictions in the country. Almost all the countries internet is run as a private network called Kwangmyong with, selected few getting privilege to access global internet through a collection of proxies. They were using English versions of pirated Microsoft Windows to access the network till 2002 when they developed… Continue reading Redstar OS 3.0, North Korea’s own Operating system

No method to auto repair package system – easyapache

Cpanel easyapache will throw "No method to auto repair package system" when it can't fix yum package installation issues in the server. Most cases this can be fixed by repairing rpm database. Let see how to do that. Backup current rpm DBs

Rebuild rpm databases

That should fix the easyapache package manager issue.

build-locale-archive: cannot read archive header

If you are getting following error when trying to build locale archive in CentOS or RedHat 6 machines,

Then check if proper locale-archive.tmpl file present in /usr/lib/locale/

If you can't find proper files under /usr/lib/locale/ , then download and extract it from glibc-common

Copy the file to actual location.

Make sure that it copied… Continue reading build-locale-archive: cannot read archive header

Beginner’s guide to Linux commands – grep

grep is a great tool that all nix administrators use in their day to day work. Let see some interesting options available to it. Searching a string That is the basic usage of this tool.

Case insensitive search grep has -i option for case insensitive search.

Search full word, not substring If you… Continue reading Beginner’s guide to Linux commands – grep