//1、在普通用户下设置root密码;开启root用户权限
┌──(yanqi?kali)-[~]
└─$ sudo passwd root
[sudo] password for yanqi:
New password:
Retype new password:
passwd: password updated successfully
//2、在非root账户下,输入当前用户的密码即可开启临时root权限
┌──(yanqi?kali)-[~]
└─$ sudo -i
[sudo] yanqi 的密码:
┏━(Message from Kali developers)
┃ We have kept /usr/bin/python pointing to Python 2 for backwards
┃ compatibility. Learn how to change this and avoid this message:
┃ ? https://www.kali.org/docs/general-use/python3-transition/
┗━(Run “touch ~/.hushlogin” to hide this message)
┌──(root
NO.A.0017——kali-linux2020.4配置固定IP地址/开启root权限/开启ssh
一、kali-linux启动root账户权限,并使用root登录xshell远程工具: