返回介绍

Optimizing Kali Linux

发布于 2024-10-11 20:49:20 字数 3655 浏览 0 评论 0 收藏 0

One of the first things I do as a habit is update Kali Linux every single time I open it up. Offensive Security pulls updates from Debian four times a day. This ensures patches and updates are getting incorporated into Kali Linux on a daily basis. Keep your system up‐to‐date and make it part of your routine. As soon as the OS loads, open a terminal, and run apt‐get update , as shown in Figure 14.15 . When that process completes and you get your command prompt back, run apt‐get dist‐upgrade (also shown in Figure 14.15 ).

Screenshot of a prompt command for updating Kali Linux through a terminal by running the “apt-get update.”

Figure 14.15 : Updating Kali Linux through a terminal

Next, think about the credentials you used to log into this VM of Kali Linux. Those are root credentials. This book has cautioned you with a discussion on least privileges. Adding a nonroot user to Kali Linux is pretty easy. You can still use the root/toor credentials as needed. As you can see in Figure 14.16 , the commands to add a user and password are simply useradd ‐m nt ‐G ‐s /bin/bash and passwd nt , respectively.

Screenshot of a prompt command for adding a nonroot username and password to Kali Linux.

Figure 14.16 : Adding a nonroot username and password

You will probably want to use your name or initials, not mine (even though mine are pretty awesome considering I'm in IT). Be cognizant of using any information or credentials that someone else could use nefariously.

You also might want to consider disabling the screen lock feature. The easiest and fastest way to disable the screen lock feature is to navigate the menu on the left to the very bottom. There is an icon of nine dots, which is your Show Applications icon. At the top of the window is the Search field. Type Settings , navigate toward the bottom of the page, and choose Power. Like you see in Figure 14.17 , choose Never as the Blank Screen option.

Screenshot displaying the Power option in the Settings menu for turning off the blank screen saver by choosing the Never as the Blank Screen option.

Figure 14.17 : Turning off the Blank screen saver

The next feature you might want to disable is the Automatic Screen Lock. You will find this under Privacy in the Settings menu, as shown in Figure 14.18 .

Screenshot for configuring Automatic Screen Lock by selecting the Privacy option in the Settings menu.

Figure 14.18 : Configuring Automatic Screen Lock

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
    我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
    原文