03-06-2009
If I encode using pgp in UNIX, what software would the user have to use to open it in say MS-Word /Notepad ? Forgot to mention that the file is .txt.
From what I read, if I use crypt to encode the file, I have to use crypt to decode it too! cannot use that in Windows, or can I ?
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
How to set password in zip files under unix?
There are password protection available in various os.
Does unix has password protection for zip files?
Is zip and gzip command has it? (6 Replies)
Discussion started by: p_prathaban
6 Replies
2. AIX
Can it be done? Ive read in a few places that the crypt program no longer exists on AIX...if its do-able please tell me how. (2 Replies)
Discussion started by: rdudejr
2 Replies
3. UNIX for Dummies Questions & Answers
Hi Experts,
I am an SAP ABAP developer and compleatly stranger to unix and I need a help to extend a small peice of code.
Our requirement is to zip a file with password protection in a specified directory. Following is the code I am using to zip a file ZZZZ.TXT.
Here YYYY = is the path... (3 Replies)
Discussion started by: veeru4all
3 Replies
4. Shell Programming and Scripting
Hi,
I'm working on Solaris 9 and i need to unzip a password protected zip, which i can do using
zip -Ppassword filename
however when i have done what i need to do with the file is to zip the file back up with a password. Zip on my system is version 2.3 and does not support this?
How can... (0 Replies)
Discussion started by: Pablo_beezo
0 Replies
5. AIX
Hi Guru,
I have assignment to create script to compress file as .ZIP with password.
I don't know the command line in AIX. It's very new for me.
I'm try to use zip or tar but I don't have any option for encrypt with password.
Please kindly suggest me.
Thank you very much.
Multidev (7 Replies)
Discussion started by: multidev
7 Replies
6. Shell Programming and Scripting
Hi Friends,
I execute a perl script with password as input but i wish not to print the password when i give the input. Instead when i provide the password it could be shown as "****" instead of original password. I know we can use Term::ReadKey or IO::Prompt for this, but just wanted to know if... (0 Replies)
Discussion started by: nmattam
0 Replies
7. Shell Programming and Scripting
HI,
Can we add password protection for attachment of .CSV file in below command or any alternative solution.
uuencode ../reports/gtsa_lmt_pb_rfs_daily.txt gtsa_lmt_pb_rfs_daily-$FILDTE.csv |mailx -s "gtsa_lmt_pb_rfs_daily" $MAILTO
Many thanks
regards,
Sampath (4 Replies)
Discussion started by: Sampath.Rachcha
4 Replies
8. Shell Programming and Scripting
How to create a file in UNIX which is password protected ?
Thanks and Regards,
Neeraj (5 Replies)
Discussion started by: neeraj617
5 Replies
9. UNIX for Dummies Questions & Answers
Hi
We send *.csv with sensitive data to our customers. Our customers open those files with Excel.
A new requirement is that we password protect those CSV files.
I thought to pack them with ZIP and assign a password to the archive.
But Solaris 10 can't encrypt ZIP files.
$ zip -P... (12 Replies)
Discussion started by: slashdotweenie
12 Replies
10. UNIX for Dummies Questions & Answers
Hi,
newbie to Linux,
is there another way to zip a file with a password other than using 'zip' command? (7 Replies)
Discussion started by: mined
7 Replies
LEARN ABOUT DEBIAN
zip_set_default_password
ZIP_SET_DEFAULT_PASSWORD(3) Library Functions Manual ZIP_SET_DEFAULT_PASSWORD(3)
NAME
zip_set_default_password - set default password for encrypted files in zip
LIBRARY
libzip (-lzip)
SYNOPSIS
#include <zip.h>
int zip_set_default_password(struct zip *archive, const char *password);
DESCRIPTION
The zip_set_default_password function sets the default password used when accessing encrypted files. If password is NULL, the default
password is unset.
If you prefer a different password for single files, use zip_fopen_encrypted(3) instead of zip_fopen(3). Usually, however, the same pass-
word is used for every file in an zip archive.
RETURN VALUES
Upon successful completion 0 is returned. Otherwise, -1 is returned and the error information in archive is set to indicate the error.
ERRORS
zip_set_default_password fails if:
[ZIP_ER_MEMORY]
Required memory could not be allocated.
SEE ALSO
libzip(3), zip_fopen(3), zip_fopen_encrypted(3)
AUTHORS
Dieter Baron <dillo@giga.or.at> and Thomas Klausner <tk@giga.or.at>
NiH January 3, 2011 ZIP_SET_DEFAULT_PASSWORD(3)