切换root
- 切换管理员
su kali
- 切换root
su root
- 当报以下错误执行第四步
su root authentication failure
- 修改root密码
sudo passwd root
- 切换root
su root
切换中文
- 更新软件包
sudo apt-get update
- 安装中文语言包
sudo apt-get install locales
- 生成中文语言环境
sudo dpkg-reconfigure locales
4. 在配置界面选择zh_CN.UTF-8,空格选中,回车确定
- 设置系统语言环境
export LANG=zh_CN.UTF-8
- 更新语言环境
sudo update-locale LANG=zh_CN.UTF-8