简体   繁体   English

使用pentaho作业加密密码并存储在文件中

[英]Encrypt a passsword using a pentaho job and store in file

here i have to create a job which coverts the plain text to encrypted password using below syntax 在这里,我必须使用以下语法创建一个将纯文本转换为加密密码的作业

Windows: 视窗:

Encr.bat -kettle <password>

Linux: Linux的:

./encr.sh -kettle '<your-password>'

Note: the main problem I'm facing is i have to execute these commands inside data-integration folder alone. 注意:我面临的主要问题是我必须单独在数据集成文件夹中执行这些命令。 Please hemp me out in this. 请麻烦我。 here i'm not sure of the location where its in server. 在这里,我不确定它在服务器中的位置。

I tried to find the location of the folder using find command 我试图使用find命令找到文件夹的位置

./encr.sh -kettle '<your-password>

have to find the exact location of data-integration folder and execute command line command in this folder path 必须找到数据集成文件夹的确切位置,并在此文件夹路径中执行命令行命令

You can find the file executing this command: 您可以找到执行此命令的文件:

Linux: Linux的:

find / -name encr.sh

Windows: 视窗:

dir encr.sh /s /p

Hope this helps. 希望这可以帮助。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM