一、kali-linux啓動root賬戶權限,並使用root登錄xshell遠程工具:
//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