Best Things To Do After Installing Kali Linux On Raspberry Pi
In our series of Penetration testing with Raspberry Pi and Kali Linux training courses, we will talk today about the things to do after installing kali linux on your Raspberry pi: combining kali linux and raspberry pi.
As we knew, the Kali Linux Raspberry Pi image is optimized for the Raspberry Pi.
Change Kali Linux Password on Raspberry Pi
At the booting of your Raspberry Pi the default username of your kali linux image is root, and the password is toor, changing your password it’s highly recommended as one of the things to do.
Once you log in use the passwd command to change the default password. That will keep you safe from attackers, because most of them know the Kali Linux default login, so it is wise to protect your Raspberry Pi from unwanted outside access.
As shown on the screenshot bellow, the command passwd will help you to change your default password:
Your screen might go blank for a few minutes when you issue the startx command. This is normal. It will ask you whether you would like to use the default work-space or a blank one.
Select the default work-space. After you make your selection, the desktop might attempt to reload or redraw. It may be a few minutes before it is fully loaded.
Upgrade Kali Linux on Raspberry Pi
It is normal that the first thing to do after changing your default password is upgrade the Kali Linux packages. We recommended that you access the X Windows (GUI) environment to upgrade the system.
Access the X Windows environment using the startx command prior to launching the apt-get upgrade command. Many users have reported that components are not fully upgraded unless they are in the X Windows environment.
The upgrade process can take some time and will show its status during the process.
The following screenshot shows the launch of the apt-get upgrade command:
The steps you need to follow to open the Kali Linux GUI are:
- Access the X Windows (GUI) desktop (using startx).
- Open a terminal command.
- Enter the command: apt-get update
- Type the command: apt-get upgrade
- Use the command: sync (we will use it twice)
- Reboot the system with the command: reboot
As a personal preference, we issue the command syc twice. After rebooting the system with reboot command. In a few minutes, your system should allow you to log back into the system. Issue the startx command to open the Kali Linux GUI.
The following screenshot will show you the launch of the sync and reboot commands:
Upgrade your systems using the apt-get update and apt-get upgrade commands within the X Windows (GUI) environment, so may cause your X Windows environment to become unstable.
That was all recommended things to do after installing kali linux on raspberry pi. At this point, you are ready to start your penetration testing exercise with your Raspberry Pi running Kali Linux.
If you have encountered a problem or you have any questions or remarks please feel free to set a comment.
With Love and Prosperity K4LINUX-TEAM.