How to Change Backtrack Hostname root@bt#

How to Change Backtrack Hostname root@bt#

Bookmark

Type :Tips and Trick

Level : Easy

Actually this post popped in my mind when one of my readers ask about changing the name in one of my post ๐Ÿ™‚ . This tips and trick was simple because it just change your backtrack hostname from "bt" to anything else.

Requirement :

1. Terminal (CTRL + ALT + T) –> how to go to backtrack main window from terminal view here.

Step by Step :

1. By default your terminal is like this picture below.

How to Change Backtrack Hostname root@bt#

2. To check your hostname, you can use hostname command.

How to Change Backtrack Hostname root@bt#

as you can see on picture above, my hostname is "bt"

3. To change your hostname, you can run hostname command following by your desired hostname.

hostname your_desired_hostname

How to Change Backtrack Hostname root@bt#

to view the change, you need to open the new terminal window(CTRL + ALT + T)

4. The above command only applied on specific session, when you start the hostname service or restarting your computer, the hostname will return to the old one (root@bt#).

service hostname start

How to Change Backtrack Hostname root@bt#

to view the change, you need to open the new terminal window(CTRL + ALT + T)

5. To make the hostname permanent, we need to edit the filelocated in /etc/hostname

pico /etc/hostname

Then change the "bt" with your desired hostname. I change it to v4L.

How to Change Backtrack Hostname root@bt#

Save the file (CTRL + O) and quit (CTRL + X)

8. To check your backtrack hostname already change or not, you can repeat step. 4 or just restart your backtrack machine.

9. Now you have the new permanent hostname.

How to Change Backtrack Hostname root@bt#

hope it’s useful ๐Ÿ™‚

Subscribe Now To Get The Latest Tips and Trick Update on Your E-Mail

Share this article if you found it was useful:

Blogger at hacking-tutorial.com.

See all posts by || Visit Website : http://www.vishnuvalentino.com