How to confirm a password is properly set on a system

Solution Verified - Updated -

Issue

  • How can you confirm the user set there password correctly on the system?
  • How to change a user's password in a non-interactive way?
  • Is there any ways to create a user account whose password would automatically be assigned without giving any input?

Environment

  • Red Hat Enteprise Linux 4, 5, 6, 7 and 8
  • shadow-utils

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