安裝 RedHat Linux 之後,我要如何啟用鏡像密碼?

Summary: 下列文章提供如何在 RedHat Linux 中啟用影子密碼的相關資訊。

This article applies to This article does not apply to This article is not tied to any specific product. Not all product versions are identified in this article.

Symptoms

如何在 RedHat Linux 中啟用鏡像密碼。
 

執行程式 pwconv grpconf, 以在安裝完成後啟用鏡像密碼。若要執行此作業,請執行下列步驟:

  1. 在主控台提示字元中輸入# pwconv,然後按下 <Enter>鍵。
  2. 輸入# grpconv,然後按下 <Enter>鍵。
備註:執行pwconvgrpconf會在/etc/passwd/etc/group中加密密碼,並將其移至檔案/etc/shadow/etc/gshadow。只有根使用者可以存取/etc/shadow/etcgshadow。這些程式是由 RedHat Linux 作業系統 CD 上的 shadow-utils-19990827-18.i386.rpm 安裝。新增群組時,若要將新使用者或群組新增至個別受保護的檔案,您應在新增使用者或grpconv時執行pwconv。

 

/etc/passwd 和 /etc/group 檔案需要受到密碼保護。

根據預設,RedHat Linux 會將所有使用者帳戶資訊和密碼儲存在兩個重要檔案中,/etc/passwd/etc/group。這些檔案通常可供所有使用者存取,因此系統管理員應考慮加以保護,以防止安全性漏洞。若要達成此目標,您必須啟用鏡像密碼。



Cause

不適用。

Resolution

不適用。
Article Properties
Article Number: 000140666
Article Type: Solution
Last Modified: 05 Aug 2021
Version:  4
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.