5.5. Summary In this chapter, we learned how to configure Kali Linux. We configured network settings, talked about users and groups, and discussed how to create and modify user accounts, set passwords, disable accounts, and manage groups. Finally, we discussed services and explained how to set up and maintain generic services, specifically SSH, PostgreSQL, and Apache. Summary Tips: In a typical desktop installation, you will have NetworkManager already installed and it can be controlled and configured through GNOME's control center and through the top-right menu. You can configure the network from the command line with the ifup and ifdown tools, which read their instructions from theRead More →

5.4. Managing Services Kali uses systemd as its init system, which is not only responsible for the boot sequence, but also permanently acts as a full featured service manager, starting and monitoring services. systemd can be queried and controlled with systemctl. Without any argument, it runs the systemctl list-units command, which outputs a list of the active units. If you run systemctl status, the output shows a hierarchical overview of the running services. Comparing both outputs, you immediately see that there are multiple kinds of units and that services are only one among them. Each service is represented by a service unit, which is describedRead More →

5.2.1. Creating User Accounts Although Kali is most often run while authenticated as the root user, you may often need to create non-privileged user accounts for various reasons, particularly if you are using Kali as a primary operating system. The most typical way to add a user is with the adduser command, which takes a required argument: the username for the new user that you would like to create. The adduser command asks a few questions before creating the account but its usage is fairly straightforward. Its configuration file, /etc/adduser.conf, includes many interesting settings. You can, for example, define the range of user identifiers (UIDs) thatRead More →