GICT knowledge base
Change or Recover a Webmin Password with the Correct Account Scope
Published
Webmin can authenticate a user with a matching Unix account password or a separate Webmin password. Identify that authentication source before changing anything: changing a system account can affect SSH and other services, while a Webmin-only credential has a narrower purpose.
If you can still sign in
For an authorized system-user password change, use System > Change Passwords and select the intended Unix user. For Webmin-specific authentication and permissions, inspect Webmin > Webmin Users instead. Do not assume those modules change the same credential or that permission to change one user’s password authorizes a root reset.
If Webmin login is unavailable
An authorized server administrator with root access can use the current Webmin CLI interactively on package-based installations:
webmin passwd --user username
Replace username with the actual existing Webmin login. This is a password-changing operation, not a diagnostic check. When both account types exist, review the interactive choice carefully. The documented --unix and --webmin-only options select different credential stores; do not choose one without understanding the affected services.
If the command is unavailable, locate the installed Webmin CLI and consult the documentation for that release. Source installs can use a bundled command under their actual installation directory, and nonstandard configuration directories require the appropriate config option. Do not copy the old article’s malformed /etcwebmin path or assume every server uses /usr/local/webmin.
Recover without exposing a password
Use interactive entry instead of putting a replacement in shell arguments, public logs or a screenshot. If you have neither authorized shell access nor a working administrator login, use the host’s verified recovery process. Test the intended Webmin HTTPS account and any affected system login afterward, keeping existing recovery access available until successful.
References: current CLI recovery; Unix password module; Webmin Users.
Reviewed October 15, 2026. Documentation review; no Webmin or Unix credential was changed.
Related guides
How to Install Virtualmin with Webmin on Ubuntu
How to Install Virtualmin with Webmin, LAMP, BIND, and Postfix on Ubuntu Webmin is a web-based control panel that helps you to setup user account, Apache, D
WebminImport a cPanel Account into Virtualmin Safely
Plan a self-managed cPanel-to-Virtualmin import with private backups, deliberate account settings and separate website, database and mail verification.
WebminUse Webmin File Manager with Explicit Privilege and Path Scope
Review Webmin identity and filesystem paths before edits, moves, ownership changes or deletion, with private before-states and deliberate recovery.
WebminInstall ProFTPD in Webmin
Install ProFTPD in Webmin. WebminWebmin is a web-based interface for administration for Unix using any web browsers, we can perform most of the function
