首先找到changepass.pl这个文件的目录忘记用户名忘记密码成功登录 首先找到changepass.pl这个文件的目录find -name *changepass.pl* 忘记用户名cat /etc/webmin/miniserv.users 忘记密码/usr/share/webmin/changepass.pl /etc/webmin/ root 123456root是用户名,这个命令的作用是用123456替换demo用户原来的密码 成功登录root/123456