Mkpasswd

Mkpasswd is a straightforward tool used to scramble passwords into secure, unreadable codes called ‘hashes’.

  • Tools & Utilities
Mkpasswd is a straightforward tool used to scramble passwords into secure, unreadable codes called ‘hashes’. These hashes are essential for safely setting up servers and applications. It is a lightweight, reliable way to ensure your login credentials are encrypted and protected from being read by others.

Platform availability

Available on 0 of 10 platforms

  • Unraid (not listed)
  • TrueNAS (not listed)
  • Umbrel (not listed)
  • ZimaOS (not listed)
  • Proxmox (not listed)
  • Helm (not listed)
  • Mac (not listed)
  • Windows (not listed)
  • Linux (not listed)
  • Any server (not listed)

Health score?A 0-100 score computed nightly from four factors: maintained (40%: recent commits and steady activity), popular (25%: GitHub stars, log scale), easy to install (20%: platforms, install notes, setup guides, Docker image) and light to run (15%: minimum RAM, ARM support). When the source code has been checked, a fifth factor, security check (20%: automated scan for committed secrets, unsafe desktop-app settings, known-vulnerable dependencies and project hygiene; any serious finding caps it at 20), is added. Factors without data are left out and the rest are rescaled.

10/100 Low

Maintained
17last commit 562 days ago
Popular
00 GitHub stars
Easy to install
100 install platforms, Docker image
Light to run
No data

Based on 3 of 4 factors.

GitHub stars
0
Open issues
0
Last commit
2025-05-08
Latest release
v1.0.11
License
GPL-3.0
Activity
stale

Checked 18 days ago - source: GitHub (LindSuen/mkpasswd)

Resources & Compatibility

ARM (e.g. Raspberry Pi) is supported.

Checked 54 days ago - source: Docker Hub image tags and published docs

First-install notes

No first-install notes yet.

Alternatives

No alternatives collected yet.

Common questions

Why does mkpasswd -m sha-512 produce a different hash on each run?

If no salt is supplied, mkpasswd uses a random salt. That random salt changes the encrypted password value every time. You can specify a salt with -S or --salt=STRING.

Why can a password starting with a dash cause HestiaCP login failures when mkpasswd is used?

HestiaCP 1.10.5 calls mkpasswd directly, and mkpasswd argument parsing is sensitive and has become stricter over time. A leading dash can be parsed as an option, leading to invalid username or password errors.

What can I use to locate the package that provides mkpasswd if package-manager search fails?

Try eopkg search mkpasswd|passwd; the source reports that it found nothing and asks for a tool that maps commands to packages.

Is mkpasswd the recommended tool for changing a fresh root password?

No recommendation is given. The question covers whether fresh root passwords are encrypted, hashed, or plain text, whether mkpasswd should be used to change them, and whether passwd is better for a new admin account.

Answers sourced from forum.hestiacp.com, unix.stackexchange.com, www.reddit.com, www.reddit.com

Community

Collected 48 days ago - public community threads