Skip to main content
Announcements
Accelerate Your Success: Fuel your data and AI journey with the right services, delivered by our experts. Learn More
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 (2)
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