Kali Linux Tutorial Penetration Testing MK007  

Top 12 Things to Do After Installing Kali Linux 2021.1

Kali Linux, by default, probably doesn’t have everything for your workflow. You just have to customize the Kali you want. With the following few tips, tricks, and applications, you can quickly customize your Kali.

  1. Add Official Repositories.
  2. Update and Upgrade
  3. Change Root Password
  4. SuperUser Access
  5. Gedit (Text Editor)
  6. Git (GitHub Package Installer)
  7. Tor Browser
  8. LeafPad
  9. Atom (A Hackable Text Editor)
  10. VPN
  11. Proxy Chains
  12. Wine (Windows  Emulator)

1) Add Official Repositories

What is Repositories ?

Repository –  “A place where things or packages are stored”.

APT Repositories:

If no APT repositories are present, If you run any APT commands, then you was encountered by the following error.

mk007@Linuxlia:~# sudo apt-get install package_name 
Reading package lists... Done
Building dependency tree Reading state information... Done
E: Unable to locate package

Copy the below codes and paste them in sources list.

deb http://http.kali.org/kali kali-rolling main non-free contrib
deb-src http://http.kali.org/kali kali-rolling main non-free contrib

How to add repositories to Source list?

  • You want to add the repositories to the source list.
  • Open a terminal and type the following command.
mk007@linuxlia:~$ sudo nano /etc/apt/sources.list
  • Paste the copied repositories and save it.
  • Ctrl+O for saving. Ctrl+X for exit.

2) Update your system

After adding repositories to the source list, update your system.

mk007@linuxlia:~$ sudo apt-get update
mk007@linuxlia:~$ sudo apt-get dist-upgrade

3) Change Root Password

In Linux, the root account is a special user account used for system administration. Only in root account you was able to make changes in default system packages. I n Kali Linux, default user name and password is,

Username: kali
Password: toor

But this does not work for everyone. So manually change the root password which you like. In user account open a terminal and run the following command for changing the root password.

mk007@linuxlia:~$ sudo passwd root
new password:
retype new password:
passwd updated successfully.

4) SuperUser Access

What is SuperUser Permission (or) Grant Root Access:

In User Account you don’t have permission to make changes in system default packages (Use Thunar File Manager, it helps you). But you want to make changes, then every time you need to type SUDO SU for getting permission or root access. It was the annoying one for lot of users.

If you want to avoid to type SUDO SU every time. Then set up Grant Root Access in your user account. Follow the below steps for Grant Root Access.

How to Get SuperUser Permission?

Steps for Grant root Access:

  • Install Kali-Grant-Root
  • Reconfigure Kali-Grant-Root
  • Edit .Bashrc
  • Reboot

Install Kali-Grant-Root:

First of all you want to install Grant Root packages in your system.

So open a terminal and run the following command for installing the packages,

mk007@linuxlia:~$ sudo apt-get install kali-grant-root

Reconfigure Kali-Grant-Root:

Type the following dpkg command in your terminal.

mk007@linuxlia:~$ sudo dpkg-reconfigure kali-grant-root


This command execute the following menu. Here choose “Enable password-less privilege escalation” and hit enter.

Edit .Bashrc :

Open a File manager and press “Ctrl+H” for viewing Hidden Folders.

Open “.Bashrc” file in any text editor and add “sudo su” in bottom of the file.

After that, save the file.


Finally reboot your system for changes let reflect. Click the terminal icon and see the changes.

5) Gedit

gedit is the default text editor of the GNOME desktop environment and part of the GNOME Core Applications. Designed as a general-purpose text editor.


Installing gedit is pretty simple. In terminal run the following  apt command for installing it.

mk007@linuxlia:~$ sudo apt-get install gedit

6) Git

What is Git?

Git is software for tracking changes in any set of files, usually used for coordinating work among programmers collaboratively developing source code during software development.


Installing Git is pretty simple. In terminal run the following  apt command for installing it.

mk007@linuxlia:~$ sudo apt-get install git

7) Tor Browser

Tor is free and open-source software for enabling anonymous communication by directing Internet traffic through a free, worldwide, volunteer overlay network consisting of more than seven thousand relays in order to conceal a user’s location and usage from anyone conducting network surveillance or traffic analysis.

If you was a pentester, then you need a privacy during surfing web. So definitely Tor helps you.


There are a lot of methods to install this. In it, it is a simple and commands free method. Download official tor.xz packages in Tor’s official site.

After downloading the package, first of all extract it. Inside that extracted file, there will be an icon. If you click that icon, then tor browser automatically started to connecting with relays.

If you was using Gnome Desktop Environment, then you was encountered by the following error.

Failed to add plugin to the panel
The name org.xfce.Panel was not provided by any.sevice

This error was occurred due to gnome panel. In XFCE4 Desktop during installing Tor, am doesn’t face any errors. In gnome’s new version the permission of the panel was completely changed. So you don’t have permission to add any third party icons to the panel. so you was failed to add plugin or icon to the panel.

Read full Post here.

8) LeafPad

Leafpad is an open source text editor for Linux, BSD, and Maemo. Created with the focus of being a lightweight text editor with minimal dependencies, it is designed to be simple and easy-to-compile.


Installing leafpad is pretty simple. In terminal run the following command for downloading it.

mk007@linuxlia:~#  sudo apt-get install leafpad

9) Atom (A hackable text editor for the 21st Century)

Atom is a free and open-source text and source code editor for macOS, Linux, and Microsoft Windows with support for plug-ins written in JavaScript, and embedded Git Control, developed by GitHub. Atom is a desktop application built using web technologies.


Download atom debian packages in Atom’s official site.

Now open a terminal and switch the directory to where was the file located.

mk007@linuxlia:$ cd Downloads

Here run the below command.

mk007@linuxlia:$ sudo dpkg -i atom-amd64.deb

Next run the command for executing atom.

mk007@linuxlia:$ atom

10) VPN (Virtual Private Network)

The title VPN and Proxy chain is important one for every Kali users. So it is better to explain it as a video than to say it theoretically.

11) Proxy Chains

12) Wine (Windows Emulator)

What is Wine?

Wine is a free and open-source compatibility layer that aims to allow application software and computer games developed for Microsoft Windows to run on Unix-like operating systems.

Wine supported Windows Applications and Games:

Visit Wines official site. Here Wine supported apps and games are listed here.

Install wine:


  • Enable 32 bit packages.
  • Download Repository key
  • Add Wine repos to source list
  • Update your System
  • Download Wine Packages
  • Run Wine

Enable 32 bit packages (if you haven’t already):

Open a terminal and run the following commands for enabling 32 bit packages.

mk007@linuxlia:~# sudo dpkg --add-architecture i386

Download Repository Key:

Now download and install the repository key in your system.

mk007@linuxlia:~# sudo wget -nc https://dl.winehq.org/wine-builds/winehq.key
mk007@linuxlia:~# sudo apt-key add winehq.key

Add wine repos to source list:

Add the official wine repository to your source list for accessing it’s packages.

Brief blog about Repositories.

In run the following command for opening source list.

mk007@linuxlia:~# sudo nano /etc/apt/sources.list

Here add the following  wine repositories and save the list.

deb https://dl.winehq.org/wine-builds/debian/ buster main
deb https://dl.winehq.org/wine-builds/debian/ bullseye main

Press Ctrl+O and hit enter for saving the file.

Press Ctrl+X for exit.

Update your System:

Now run the update command for downloading the official wine packages.

mk007@linuxlia:~$ sudo apt-get update

Install Wine Packages:

Finally your system is compatible to download the wine.

Open a terminal and run the following apt command for installing wine on your system.

mk007@linuxlia:~$ sudo apt install --install-recommends winehq-stable

Alright, now the wine was successfully installed.

Run wine:

Its the time to run lagy windows softwares in Linux.

Open the terminal and switch the directory to where was that software located and run the command in following format.

mk007@linuxlia:~$ sudo wine 'Software Name'Now 

Software was started to execute,

Finally your system is ready to run Windows applications and games.

Bonus Tip:

Switch Environments in Lock Screen:

Kali Linux 2021.1, contains more features. In this features list, this one impress me. That is switching desktop environments in lock screen. From now on no need for running commands for switching desktop environments.

In lock screen’s right side bottom, settings shaped icon was added now. Here choose the environment which you want  and enjoy.


Hope this complete beginner guide is useful to you. If you have any doubts about this post please leave a comment otherwise ping me in Instagram. Am ready to solve your doubts.

Leave A Comment