Linux or UNIX password protect files
Suppose you want to protect file pwd.txt
This will ask you to set new password and create a file called pwd.txt.gpg
Now you can delete pwd.txt.
If you want to retrieve pwd.txt, you can say
and it will ask you to enter password and create pwd.txt
gpg -c pwd.txt
This will ask you to set new password and create a file called pwd.txt.gpg
Now you can delete pwd.txt.
If you want to retrieve pwd.txt, you can say
gpg pwd.txt.gpg
and it will ask you to enter password and create pwd.txt
great information
ReplyDelete