pmpasswd
pmpasswd
66号公路 发表于3年前
pmpasswd
  • 发表于 3年前
  • 阅读 72
  • 收藏 0
  • 点赞 0
  • 评论 0

腾讯云 技术升级10大核心产品年终让利>>>   

Encrypting Passwords

Command Line Programs:

infacmd

infasetup

pmcmd

pmrep

You can encrypt passwords to create an environment variable to use with infacmd, infasetup, pmcmd, and pmrep or to define a password in a parameter file. For example, you can encrypt the repository and database passwords for pmrep to maintain security when using pmrep in scripts. Then you can create an environment variable to store the encrypted password. Or, you can define a password for a relational database connection object in a parameter file.

Use the command line program pmpasswd to encrypt passwords. The pmpasswd utility installs in the following directory:

<InformaticaInstallationDir>/server/bin

The pmpasswd utility uses the following syntax:

pmpasswd <password> [-e (CRYPT_DATA | CRYPT_SYSTEM)]

The following table describes pmpasswd options and arguments:

Option

Argument

Description

n/a

password

Required. The password to encrypt.

-e

CRYPT_DATA,

CRYPT_SYSTEM

Optional. Encryption type:

CRYPT_DATA. Use to encrypt connection object passwords that you define in a parameter file.

CRYPT_SYSTEM. Use for all other passwords.

Default is CRYPT_SYSTEM.

Using a Password as an Environment Variable

Use the following steps as a guideline to use an encrypted password as an environment variable:

1.

Use the command line program pmpasswd to encrypt the password.

pmpasswd generates and displays the encrypted password. For example, if you enter the password “monday,” the password encrypts to f/wRb5PZsZnqESTDPeos7Q==.

2.

Configure the password environment variable to set the encrypted value.

Configuring a Password as an Environment Variable on UNIX

To configure a password as an environment variable on UNIX:

1.

At the command line, type:

pmpasswd <password>

pmpasswd returns the encrypted password.

2.

In a UNIX C shell environment, type:

setenv <Password_Environment_Variable> <encrypted password>

In a UNIX Bourne shell environment, type:

<Password_Environment_Variable> = <encrypted password> export <Password_Environment_Variable>

You can assign the environment variable any valid UNIX name.

Configuring a Password as an Environment Variable on Windows

To configure a password as an environment variable on Windows:

1.

At the command line, type:

pmpasswd <password>

pmpasswd returns the encrypted password.

2.

Enter the password environment variable in the Variable field. Enter the encrypted password in the Value field.

For information about setting environment variables on Windows, consult the Windows documentation.

标签: informatica pmpasswd
共有 人打赏支持
66号公路
粉丝 59
博文 80
码字总数 49936
×
66号公路
如果觉得我的文章对您有用,请随意打赏。您的支持将鼓励我继续创作!
* 金额(元)
¥1 ¥5 ¥10 ¥20 其他金额
打赏人
留言
* 支付类型
微信扫码支付
打赏金额:
已支付成功
打赏金额: