How do I enable shadow passwords after installing RedHat Linux?

Résumé: The following article provides information about how to enable shadow passwords in RedHat Linux.

Cet article concerne Cet article ne concerne pas Cet article n’est associé à aucun produit spécifique. Toutes les versions du produit ne sont pas identifiées dans cet article.

Symptômes

How to enable shadow passwords in RedHat Linux.
 

Run the programs pwconv and grpconf to enable shadow passwords after installation is complete. To do this, perform the following steps:

  1. From the console prompt, type # pwconv and then press the <Enter> key.
  2. Type # grpconv and then press the <Enter> key.
NOTE: Running pwconv and grpconf encrypts the passwords in /etc/passwd and /etc/group and moves them to the files /etc/shadow and /etc/gshadow. Only the root user can access /etc/shadow and /etcgshadow. These programs are installed by shadow-utils-19990827-18.i386.rpm on the RedHat Linux Operating System CD. You should run pwconv when you add a new user or grpconv when you add a new group in order to add the new user or group to the respective protected file.

 

The /etc/passwd and /etc/group files need to be password protected.

By default, RedHat Linux saves all user account information and passwords in two important files, /etc/passwd and /etc/group. These files are generally accessible to all users, therefore the administrator should consider protecting them in order to prevent a security breach. To accomplish this, you need to enable shadow passwords.



Cause

Not Applicable.

Résolution

Not Applicable.
Propriétés de l’article
Numéro d’article: 000140666
Type d’article: Solution
Dernière modification: 05 août 2021
Version:  4
Trouvez des réponses à vos questions auprès d’autres utilisateurs Dell
Services de support
Vérifiez si votre appareil est couvert par les services de support.