Password protection in unix


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting Password protection in unix
# 1  
Old 11-11-2011
Password protection in unix

How to create a file in UNIX which is password protected ?


Thanks and Regards,
Neeraj
# 2  
Old 11-11-2011
Have you seen GPG? GNU Privacy Guard: The GNU Privacy Guard - GnuPG.org
# 3  
Old 11-11-2011
No Smilie , but checkinG THAT now Smilie

---------- Post updated at 08:03 AM ---------- Previous update was at 07:49 AM ----------

Still not able to figure it iut from there , my case i want to create a file which is passwd protected and send that file to a user who knows the passwd , so that only he can open that.

Any help ?
# 4  
Old 11-11-2011
Trust me, GPG is what you are looking for!

Here are some usefull links:
-----> GnuPG Frequently Asked Questions
-----> Using GPG for encryption and signing /dev/dagon weblog
-----> Gnu Privacy Guard - How Gpg Works
# 5  
Old 11-11-2011
Try :X option in vim.



Code:
:X      Prompt for an encryption key.  The typing is done without showing the
        actual text, so that someone looking at the display won't see it.

# 6  
Old 11-11-2011
It is more or less impossible to prevent a user one a remote system from opening a file you sent him.
Thats why encryption is used. Opening a file will not help an unauthorized user in any way as he is not able to interpret its content.
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Forum Support Area for Unregistered Users & Account Problems

Password sent via reset password email is 'weak' and won't allow me to change my password

I was unable to login and so used the "Forgotten Password' process. I was sent a NEWLY-PROVIDED password and a link through which my password could be changed. The NEWLY-PROVIDED password allowed me to login. Following the provided link I attempted to update my password to one of my own... (1 Reply)
Discussion started by: Rich Marton
1 Replies

2. Shell Programming and Scripting

uuencode - .csv file password protection

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

3. Shell Programming and Scripting

Password Protection using Term::ReadKey

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

4. UNIX for Dummies Questions & Answers

Zip file with password protection

I am trying to zip a file with password protection. I have read all or atleast most of the threads on the website, but couldn't come up with a solution. I am running ZIP version 2.3 on HP-UX but I dont see the -P (password) option. I read somewhere that free versions of zip don't come with... (5 Replies)
Discussion started by: pintu
5 Replies

5. UNIX for Dummies Questions & Answers

Syntaxt to zip a file with password protection

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

6. UNIX for Dummies Questions & Answers

Running UNIX commands remotely in Windows box from Unix box – avoid entering password

I am able to run the UNIX commands in a Windows box from a UNIX box through "SSH" functionality. But whenever the SSH connection is established between UNIX and Windows, password for windows box is being asked. Is there a way to avoid asking password whenever the SSH connection is made? Can I... (1 Reply)
Discussion started by: D.kalpana
1 Replies

7. AIX

File password protection/encryption

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

8. UNIX for Advanced & Expert Users

Does unix has password protection for zip files?

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

9. Cybersecurity

Virus Protection for Unix Web Servers

Do companies use virus protection software on all UNIX servers that are used as web servers even if the servers are not used for e-mail traffic? Has anyone installed Norton Antivirus software on their UNIX web servers or do the security patches cover viruses and worms? (2 Replies)
Discussion started by: Karen Stone
2 Replies
Login or Register to Ask a Question