[kali] How to enter the root user

Table of contents

1. Open the command line

2. Set the root password

3. Enter su root on the command line to enter the root user


Preface: The default user of kali linux is kali, but the installation program requires root privileges, how to achieve it?

1. Open the command line

 

2. Set the root password

sudo passwd  root

# 照提示操作就可以设置新的root密码,第一次会要你输入kali用户密码,具体根据个人机器

# 我这里设置root 密码也是 kali

3. Enter su root on the command line to enter the root user

su  root

 

Guess you like

Origin blog.csdn.net/legend818/article/details/131300554