Installed webmin
and want to create a new user non root to login, follow the steps :
Edit the file /etc/webmin/miniserv.users
and add a line for your new user like
anubhav:12ZVLjpihs:0
Edit file /etc/webmin/webmin.acl
and copy the first line for the root user and paste it in same file , rename root to the new user and save the file, so the file should be like
root:access privileges anubhav:access privileges
Reset the new user password /usr/share/webmin/changepass.pl /etc/webmin anubhav mypassword
.
Restart webmin
from /etc/init.d/webmin restart
Navigate to your webmin
page and login user new username and password.
The webmin user database is stored in /etc/webmin/miniserv.
You can disable Webmin starting at boot from the Webmin interface, in the Webmin Configuration module. At the bottom of the module window is the option to set when Webmin starts. You can invoke Webmin to start via command-line sudo service webmin start when configured not to start at boot.
just in addition: RedHat distribution (i.e. Fedora, CentOS, Gentoo, etc.):
/usr/libexec/webmin/changepass.pl /etc/webmin admin newpassword
Debian distribution (i.e. Debian, Ubuntu, etc.):
/usr/share/webmin/changepass.pl /etc/webmin admin newpassword
FreeBSD:
/usr/local/lib/webmin/changepass.pl /usr/local/etc/webmin admin newpassword
Remember to replace "admin" and "newpassword" with your own details!
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With