Translated message

A translation of this page exists in English.

/etc/shadow と互換性のある SHA-2 (sha256 または sha512) ハッシュパスワードを生成する方法

Solution In Progress - Updated -

Issue

  • この Red Hat Magazine の記事 で詳しく説明されている方法を使用すると、/etc/shadow と互換性のある md5 ハッシュパスワードを効果的に生成できます。SHA-256 または SHA-512 の場合はどうでしょうか?openssl passwd --help コマンドでは MD5 のみが言及されています。

  • /etc/shadow のハッシュパスワードはどのように生成できますか?

  • crypt() と同様に、SHA512 を使用してパスフレーズをハッシュ化する必要があります。

Environment

  • Red Hat Enterprise Linux 8
  • Red Hat Enterprise Linux 7
  • Red Hat Enterprise Linux 6
  • Red Hat Enterprise Linux 5

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

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content