Here is a simple tip to password protect your files:
vi -x test.txt
This command will ask for an encryption key. You have to type the key twice. Then save and quit the opened file.
Now, whenever you open this file, it will ask for that password first. Remember, this will only encrypt the content of the file. Anybody, can enter a wrong password and update the file.
vi -x test.txt
This command will ask for an encryption key. You have to type the key twice. Then save and quit the opened file.
Now, whenever you open this file, it will ask for that password first. Remember, this will only encrypt the content of the file. Anybody, can enter a wrong password and update the file.
No comments:
Post a Comment