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
質問に対する他のDellユーザーからの回答を見つける
サポート サービス
お使いのデバイスがサポート サービスの対象かどうかを確認してください。