Encrypt your file using vi
vi -x testing.sh
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 the file it will ask you for a password.
That is a good one .... Below is very important ... How do you again disable the password ????
Open the file with given password and then press
:set key=
and press enter your password is disabled.
No comments:
Post a Comment