文档章节

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

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

暂无文章

乱入Linux界的我是如何学习的

欢迎来到建哥学Linux,咳!咳!咳!开个玩笑哈,我是一个IT男,IT界的入门选手,正在学习Linux。 在之前,一直想进军IT界,学习IT技术,但是苦于没有人指导,也不知道学什么,最开始我自己在...

linuxCool
49分钟前
1
0
携程Apollo统一配置中心的搭建和使用(java)

一.Apollo配置中心介绍 1、What is Apollo 1.1 Apollo简介 Apollo(阿波罗)是携程框架部门研发的开源配置管理中心,能够集中化管理应用不同环境、不同集群的配置,配置修改后能够实时推送到...

morpheusWB
今天
1
0
远程获得的有趣的linux命令

使用这些工具从远程了解天气、阅读资料等。 我们即将结束为期 24 天的 Linux 命令行玩具日历。希望你有一直在看,如果没有,请回到开始,从头看过来。你会发现 Linux 终端有很多游戏、消遣和...

Linux就该这么学
今天
6
0
聊聊flink的AsyncWaitOperator

序 本文主要研究一下flink的AsyncWaitOperator AsyncWaitOperator flink-streaming-java_2.11-1.7.0-sources.jar!/org/apache/flink/streaming/api/operators/async/AsyncWaitOperator.java ......

go4it
今天
5
0
Java并发编程基础(四)

ThreadGroup 在主线程创建得线程,如果没有给他指定线程组,那么创建的线程,默认和主线程同一个线程组。线程组可以底下可以是线程,也可以实线程组。 构建线程组的方法: private ThreadGr...

chendom
今天
7
0

没有更多内容

加载失败,请刷新页面

加载更多

返回顶部
顶部