Showing posts with label Redhat Tricks. Show all posts
Showing posts with label Redhat Tricks. Show all posts

Networking Tools At One Place

Hi Guys let’s have some talk over network tools in Linux.
There are some common tools like ping traceroute and netstat which provides valuable information about our network connection and traffic. So here we’ll get all these tools at one place so that we can use them easily. So first of all issue this command on your RHEL machine-
  • yum install gnome-nettool
And that’s all you need to do. Now go to your Terminal and issue gnome-nettool command and you’ll see the following screenAll Network Tools At One Place
This includes Ping Netstat Traceroute Portscan Lookup Finger and Whois which you can use from an easy to use graphical interface. So get set and go.

Hacking Password Protected Single User Mode

The password protecting single user mode which can enhance the security of your system. But there is also a different aspect of this security patching that if you forget  the root password, you can’t even login to single user mode to change the password or to perform any other maintenance related task. So today we’ll deal with this critical situation where you can change your password even if your single user mode is password protected.
The process is quite simple. At the time of booting press any key to edit the grub menu. Select the operating system and press e. Now go to the kernel line and press e again. It’s time to change some kernel parameters. So write init=/bin/bash and press enter to come out of this. Now press b to boot.So what we have actually done is to tell kernel that instead of starting normal inittab file just give me a simple bash shell.Now you’ll get a bash shell.
The process from this point of time is as following where we need to issue some commands-

  • First of mount the / partition in read-write mode. So issue mount -o remount, rw / command.
  • Now change the password using passwd command.
  • Again remount the / partition in read only mode by using mount -o remount, ro / command.
Now just restart the machine and you’ve successfully changed your root account password. I think that you’ll love this small hack. Enjoy!!!

Delicious FacebookStumbleupon Favorites More