How to generate a SHA-2 (sha256 or sha512) hashed password compatible with /etc/shadow

Solution verified - Updated on

Request a new translation or translation update

A translation for your language preference does not exist. Click below to request a translation for your selected language.

Submit request

Issue

  • Using the method detailed in this Red Hat Magazine article works great to generate /etc/shadow-compatible md5-hashed passwords, but what about SHA-256 or SHA-512? The op

...

Subscriber Exclusive Content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content