文档章节

pmpasswd

LianyouCQ
 LianyouCQ
发布于 2014/07/21 11:21
字数 358
阅读 74
收藏 0

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.

© 著作权归作者所有

共有 人打赏支持
LianyouCQ

LianyouCQ

粉丝 58
博文 92
码字总数 51532
作品 0
沙坪坝
程序员
私信 提问

暂无文章

binlog2sql mysql数据库闪回工具

binlog2sql工具比mysqlbinlog+sed恢复更快捷。 1、安装: 从github上下载:https://github.com/danfengcao/binlog2sql shell> git clone https://github.com/danfengcao/binlog2sql.git && c......

mickelfeng
27分钟前
2
0
SpringCloud 复杂对象接收时候对象变成LinkeHashMap

如果定义feign接口为 @PostMapping("/user/queryUserByAccountStatus") BaseResult queryUserByAccountStatus(@RequestBody AccountsTenantIdStatusArg arg); 其中BaseResult的范性应该为Lis......

xiaomin0322
27分钟前
1
0
Android/Java 读、写MP3文件ID3V1信息

MP3的歌曲信息一般分两个大版本,分别是ID3V1和ID3V2,其中V2又分为好几个版本,具体百度一下,下方的代码仅仅是支持ID3V1。 需要用到的一个辅助工具(juniversalchardet)用于解决乱码问题,...

她叫我小渝
28分钟前
1
0
thymeleaf的onclick标签传参异常

异常 org.thymeleaf.exceptions.TemplateProcessingException: Only variable expressions returning numbers or booleans are allowed in this context, any other datatypes are not trust......

EasyProgramming
28分钟前
1
0
前端杂谈: CSS 权重 (Specificity)

前端杂谈: CSS 权重 (Specificity) css 权重想必大家都听说过, 一些简单的规则大部分人也都知道: 较长的 css selector 权重会大于较短的 css selector id selector 权重高于 class selector...

ssthouse_hust
36分钟前
8
0

没有更多内容

加载失败,请刷新页面

加载更多

返回顶部
顶部