+4 votes
503 views
How to get into Root Kali Linux | Root Login Mode

in Linux / Unix by (551k points)
reopened | 503 views

1 Answer

+5 votes
Best answer

How to enter ROOT Kali Linux or enter Root Mode Login

Kali Linux is one of the most striking operating systems in terms of security for all that it offers us, not in vain it has more than 600 penetration tools thanks to which we can validate in a high percentage the level of security of our organization and of all the components that are in it..

 

Kali Linux is a Linux distribution based on Debian and one of the parts that have been present is that for security reasons the Linux root user is disabled there. This is due to the fact that the root user (or superuser) has all the permissions, which is insecure since a badly executed command can have delicate consequences on the files or the system's own services.

 

 

If for any reason you need to enter Kali Linux as root user, TechnoWikis will explain how to do it in a really functional way..

 

 

To stay up to date, remember to subscribe to our YouTube channel!   SUBSCRIBE

 

 

How to enter ROOT Kali Linux or enter Root Mode Login

 

 

Step 1

By default in Kali Linux the access credentials are Kali username and Kali password:

 

 

image

 

Step 2

If we enter with this user and go to the terminal to try to execute a command that requires permissions (such as updating the system), we will see the following:
 apt-get update 
image

 

 

Step 3

We can see that the message “Permission denied” appears. To correct this, we access as root in the terminal with the following command:
 sudo su 
Step 4

There we are going to enter the password with which the session was started:

 

 

 

 

image

 

 

Step 5

Now we will assign a password to the root user with the following command:
 passwd root 
Step 6

We enter and assign the desired password:

 

 

 

image

 

 

Step 7

We close the current session in Kali Linux:

 

image

 

 

Step 8

In the login screen we access as root users with the password that we have defined:

 

image

 

 

Step 9

If we go to the terminal and execute "apt-get update" we will see that the command runs without problems:

 

image

 

With these steps it is possible to access as root user in Kali Linux to perform the pertinent tasks.

 


by (3.5m points)

Related questions

+5 votes
1 answer
+5 votes
1 answer
asked May 6, 2020 in Linux / Unix by backtothefuture (551k points) | 1.4k views
+4 votes
1 answer
asked Jan 31, 2020 in Linux / Unix by backtothefuture (551k points) | 5.8k views
+3 votes
1 answer
+5 votes
1 answer
asked Sep 5, 2019 in Linux / Unix by backtothefuture (551k points) | 387 views
Sponsored articles cost $40 per post. You can contact us via Feedback
10,634 questions
10,766 answers
510 comments
3 users