Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Posting on Qlik Community is temporarily paused for some users. Thank you for patience and we'll update you soon!
cancel
Showing results for 
Search instead for 
Did you mean: 
VChauhan1611936886
Contributor II
Contributor II

Unable to decrypt file using tsystem

I am running a command to decrypt a file using “tsystem” component.

My talend job is running with root user to decrypt the file.

I am running array command with following steps :-

"sudo su – talend_user"

"cd /home/talend_user"

"gpg --yes --batch --output <output_file_name> --passphrase=<passphrase> <input_file_name>"

Following is the error :-

java.io.IOException: Cannot run program "sudo su – talend_user": error=2, No such file or directory

When I follow same steps in unix environment(using putty) I am able to decrypt the file.

Labels (1)
  • Cloud

1 Reply
Anonymous
Not applicable

@Vijay Singh Chauhan​ , this is a Linux command, make sure the job is running on a Linux machine. Take a look at this relevant question.

https://community.talend.com/s/feed/0D53p00007vCoKiCAK

 

Regards

Shong