Joaquin Peralta

My Personal weblog.

Encoding text files with vim.

Vim (vi improved) its a great text editor, used principally for programmers and others. The last days i want have a file with my passwords, because i use a lot of different password for each utility. For this reason i make a simple text file with this passwords, however i want maintain this passwords in secret, for this reason i use vim.

For example, i have a file with my password called ‘password.key’, the first time (blank file) i open this using :

vim -x password.key

after i put a password for this file (twice). And write in this file as a simple and normal file.

The next time that i want edit or see this file, i use :

vim password.key

and vim, solicit the password for edit this file. This is a god form of maintain my passwords in a secure file.

JP.

May 1, 2007 - Posted by jperalta | GNU/Linux | | 1 Comment

1 Comment »

  1. The only thing that i know about VI is :q
    Thanks for the tip!

    Comment by AlCapone | May 1, 2007 | Reply


Leave a comment