Webmin: reset ubah passsword admin

From OnnoWiki
Jump to navigation Jump to search

For RHEL/CentOS:

/usr/libexec/webmin/changepass.pl /etc/webmin root NEWPASSWORD

For Debian/Ubuntu

/usr/share/webmin/changepass.pl /etc/webmin root NEWPASSWORD
/usr/share/webmin/changepass.pl /etc/webmin admin NEWPASSWORD

For Thecus NAS


alias webmin-pass='/raid0/data/module/WebMin/sys/bin/changepass.pl /raid0/data/module/WebMin/sys/etc/webmin admin'
alias webmin-restart='/raid0/data/module/cfg/module.rc/WebMin.rc stop | /raid0/data/module/cfg/module.rc/WebMin.rc start'

Now go back to browser and try to login with the new password, it should