Home BackTrack How to Change Hostname in KaliLinux

How to Change Hostname in KaliLinux

How to Change Hostname in KaliLinux

How to Change Hostname in KaliLinux :-

By default, Kali Linux comes with the hostname root@Kali. However when you are installing kalilinux with iso image file you have the option to change the hostname. but in the case of vmware imgae file, it,s not giving you installation option.

Today i am going to show you How to Change Hostname in KaliLinux ?

Click on Application > Accessories > Select Leafpad

How to Change Hostname in KaliLinux1

After opening leafpad click the file then open , click on the File systemetc 

How to Change Hostname in KaliLinux2

Find the hostname and click on open

How to Change Hostname in KaliLinux3

Now change the name Kali to your desired hostname

How to Change Hostname in KaliLinux4

and save it and restart your kali machine. Now you hostname is changed.

If you want to use the command line then use this commands

Open the terminal and type root@Kali:~# cd /etc and hit enter

then type root@Kali:/etc# leafpad hostname and hit enter

Leafpad will show your present hostname just replace it in your new hostname and save it

Enjoy your Own Hostname in kali.

Hope you like my post. Please Share with others.

LEAVE A REPLY

Please enter your comment!
Please enter your name here

five × 5 =

This site uses Akismet to reduce spam. Learn how your comment data is processed.