How do I enable shadow passwords after installing RedHat Linux?

摘要: The following article provides information about how to enable shadow passwords in RedHat Linux.

本文适用于 本文不适用于 本文并非针对某种特定的产品。 本文并非包含所有产品版本。

症状

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.



原因

Not Applicable.

解决方案

Not Applicable.
文章属性
文章编号: 000140666
文章类型: Solution
上次修改时间: 05 8月 2021
版本:  4
从其他戴尔用户那里查找问题的答案
支持服务
检查您的设备是否在支持服务涵盖的范围内。