vi password

Forum rules
Before you post please read how to get help

vi password

Postby jesica on Wed Aug 01, 2012 3:58 am

is it posible to save a vi/nano file with password protection like in libre office?
Image

My Linux Counter number # 566377
Mate
IT Ninja
Happy apt-get-ing!
Linux Mint Donar # 2159


Security is the separation of an asset from a threat.
User avatar
jesica
Level 9
Level 9
 
Posts: 2633
Joined: Sat Jul 18, 2009 3:54 am
Location: South Africa

Linux Mint is funded by ads and donations.
 

Re: vi password

Postby Pilosopong Tasyo on Wed Aug 01, 2012 4:56 am

jesica wrote:is it posible to save a vi/nano file with password protection like in libre office?


According to Mr. Google and the vi man page (hint hint :wink:):

vi -x filename
- Use encryption when writing files. Will prompt for a crypt key.
Image
o Give a man a fish and he will eat for a day. Teach him how to fish and he will eat for a lifetime!
o If an issue has been fixed, please edit your first post and add the word [SOLVED].
User avatar
Pilosopong Tasyo
Level 6
Level 6
 
Posts: 1206
Joined: Mon Jun 22, 2009 3:26 am
Location: Philippines


Return to Scripts & Bash

Who is online

Users browsing this forum: No registered users and 1 guest