How to login as root after installing Kali Linux?
1.1 Login as normal user you created on installation process.
1.2 Open terminal.
1.3 Here try to login as root by using command
1.4 If you switch to root terminal then skip to step number 2.5
→ When you don’t have root password then you have to reset root password by following steps
2.1 First we check our normal user have enough power or not by using command
2.2 If the output looks like this (all:all)all then you have power to change root password
2.3 Type command and reset new password for root
sudo passwd root
2.4 Now go to root terminal using below command
2.5 Then you have to run the below command
2.6 And comment the 3rd number line which shows in image by using # and then save it
2.7 Now restart and try to login with root user
Thanks for reading hope you guys like Post your questions in the comment section below!
Kali linux как войти в root
There are some cases where you may need to use superuser, root, for an extended period of time. In these cases we can easily access the root account with a simple sudo su (which will ask for the current user’s password), selecting the root terminal icon in the Kali menu, or alternatively using su — (which will ask for the root user’s password) if you have set a password for the root account that you know of. When finished, exit or CTRL+D will take us out of this elevated shell.
However, there may be other times where you may want to use root across multiple sessions without the hassle of elevating privileges. In these situations we will need to install a package and make a few modifications to fully enable the root account for use due to security reasons of keeping the root account disabled by default.
Enabling the root account
The first thing to do is set a root password, which should be different to the current user’s password (in this case kali ). We can do this by doing the following:
Please note that the password prompt will not display output as you are typing in the password, but it will still register the keystrokes.
The next thing we need to decide is if we are wanting to use root via SSH or through the login prompt on whichever desktop environment is installed.
Enabling root for SSH
If we look at /etc/ssh/sshd_config we will see a PermitRootLogin line. We will want to change this line to match our use case:
If we have set up SSH key based login for the root account, then we can simply uncomment the appropriate line and continue on. Otherwise, we should change PermitRootLogin to be yes which will allow us to input a password.
Enabling root for GNOME and KDE login
We will first install kali-root-login to change multiple configuration files that will permit us to login to the root account through the GNOME GDM3 and the KDE login prompt. This step is not necessary when using other desktop environments:
We can now log out of our non-root user account and login to root using the password that we set earlier.
Как получить root-доступ в Kali Linux

Статьи
В этой статье мы узнаем, как получить root-доступ и войти в систему как root в Kali Linux. В старой версии Kali по умолчанию пользователем является root. Но теперь при установке Kali Linux мы должны создать стандартного пользователя. После входа в систему мы должны использовать команду sudo для установки любого приложения или пакета в Kali.
Итак, как получить доступ root в Kali Linux, мы должны выполнить следующие шаги:
Как получить root-доступ
В первый раз мы должны войти в систему под учетной записью обычного пользователя, которая создается при установке Kali.

Проверка учетной записи пользователя для входа в систему
Теперь, прежде всего, нужно открыть терминал, и вы можете проверить текущего пользователя входа в систему с помощью этой команды.

Вход в терминал под учетной записью root
Теперь мы переключим обычную учетную запись пользователя на учетную запись root, поэтому вам нужно ввести следующую команду в терминале.
Теперь вы можете проверить, что вы находитесь в root вы можете определить с помощью символа #, а также вы можете ввести ту же команду, которая является whoami.

Установка пароля root в Kali Linux
Теперь вы проверили текущего пользователя в терминале, который является root, поэтому вам нужно ввести команду passwd и нажать enter, она запросит пароль, поэтому вам нужно ввести пароль, а затем проверить его, и все, вы установили пароль root с помощью терминала.

Вход в систему как root в Kali Linux

Теперь вы можете выйти из пользователя root, закрыть терминал, выйти из учетной записи обычного пользователя и войти в систему под пользователем root с помощью нового пароля.
Вот и все, это способ, как вы можете изменить пароль root и войти под пользователем root в Kali Linux.
Как включить учетную запись root в Kali Linux

До версий Kali Linux 2020 пользователь root был пользователем по умолчанию, но в последних версиях Kali Linux (2020.1 и выше), разработчики, из-за соображений безопасности, решили использовать по умолчанию пользователя без прав root. В этой небольшой инструкции я покажу, как включить учетную запись root в Kali Linux.
Учетная запись root в Kali Linux
В плане безопасности Kali Linux — это правильно, особенно, когда речь идет о новичках, но есть и продвинутые пользователи, которые хотят использовать Kali Linux на полную катушку и не хотят постоянно сталкиваться с ограничением.
Для тех, кто снова хочет использовать пользователя root по умолчанию, вот как это сделать на Kali Linux. Кстати, пользователь root создается по умолчанию, но эта учетная запись намерено отключена.