修改執行 DPA 代理程式的 Linux 作業系統使用者識別碼 (使用者 ID)

Summary: 由於各種原因,可能需要修改執行 Data Protection Advisor (DPA) 代理程式的 Linux 作業系統使用者識別碼 (使用者 ID)。例如,從根使用者到預定義的非根使用者。此作業無需解除安裝再重新安裝 DPA 代理程式即可完成。

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.

Instructions

唯一的先決條件是在執行這些指示之前,在Linux作業系統上創建並存在所需的使用者ID。
 

  1. 停止 DPA 代理程式,請使用 dpa stop 命令
    範例:  /opt/emc/dpa/agent/etc/dpa stop
     
  2. 編輯 dpa.config 檔案
    變更 DPAUSERID 值從空白或根到所需的使用者ID。(範例 my_user)

    [root@agent_server01 ~]# cd /opt/emc/dpa/agent/etc
    [root@agent_server01 etc]# vi dpa.config

    前往此行

    # Custom user setting
    DPAUSERID=

    將空白更改為所需的使用者ID。如果已經列出了使用者 ID(例如 root),那麼將其更改為新的使用者 ID。

    # Custom user setting
    DPAUSERID=my_user

    儲存檔案。
     
  3. 修改 DPA 的擁有者和群組 agent 目錄和下面的
    所有內容 使用者 ID 應與 dpa.config 檔。可視需要設定群組 ID。

    執行下列命令

    chown --dereference -LR my_user:my_user /opt/emc/dpa/agent
     
  4. 使用 dpa start 命令
    範例:   /opt/emc/dpa/agent/etc/dpa start

 

Article Properties
Article Number: 000430610
Article Type: How To
Last Modified: 06 رمضان 1447
Version:  1
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.