Solved

Encrypt a file in Unix shell, email through mailx, and detatched from Outlook with key.

Posted on 2007-04-05
9
404 Views
Last Modified: 2010-05-18
I have a script that emails a file through a Unix Kornshell script. This file needs to be encrypted where the user needs a password to read, after detatching through Outlook. I currently use uuencode but all users can still read the file. How do I encrypt through ksh and then give this code to a user? This must be automated with no user intervention for the encryption.
0
Comment
Question by:rayskelton
  • 4
  • 3
  • 2
9 Comments
 
LVL 19

Expert Comment

by:NickUpson
Comment Utility
gzip the file as the first step, specifying a password
0
 

Author Comment

by:rayskelton
Comment Utility
I am unaware of being able to encrypt a file with gzip.
0
 
LVL 19

Expert Comment

by:NickUpson
Comment Utility
http://www.info-zip.org/

its zip not gzip, which uses pgp encryption
0
 

Author Comment

by:rayskelton
Comment Utility
I was looking at pgp, although is not installed on our machines and will need to go through much red tape to install.
0
What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

 
LVL 19

Accepted Solution

by:
NickUpson earned 250 total points
Comment Utility
or there is this, the encrypt command.

http://www.cs.sunysb.edu/facilities/FAQ/MiscEncryptFile.html

I don't know if outlook can handle it
0
 

Author Comment

by:rayskelton
Comment Utility
Thanks for all
0
 
LVL 48

Expert Comment

by:Tintin
Comment Utility
I don't know how the 'crypt' command can be any help as Outlook or Windows certainly won't recognise it.  ZIP with a password would be the easiest and most reliable method.
0
 

Author Comment

by:rayskelton
Comment Utility
Your correct, my task is to encrypt on Unix and read through Outlook. I passed this issue to our corporate security deptartment and am letting them come up with a viable solution. Thanks for your response.
0
 
LVL 48

Expert Comment

by:Tintin
Comment Utility
Can you please explain why you think the ZIP solution is not appropriate?  It will do everything that you've described.
0

Featured Post

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Unix / Linux grid computing 5 125
UNiX Script filesystem space usage 19 59
aix tls version 6 150
MarkLogic 1 47
Let's say you need to move the data of a file system from one partition to another. This generally involves dismounting the file system, backing it up to tapes, and restoring it to a new partition. You may also copy the file system from one place to…
My previous tech tip, Installing the Solaris OS From the Flash Archive On a Tape (http://www.experts-exchange.com/articles/OS/Unix/Solaris/Installing-the-Solaris-OS-From-the-Flash-Archive-on-a-Tape.html), discussed installing the Solaris Operating S…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.

771 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now