Welcome to Tech Support Forum home to more then 136,000 problems solved. Issues have included: Spyware, Malware, Virus Issues, Windows, Microsoft, Linux, Networking, Security, Hardware, and Gaming Getting your problem solved is as easy as:
1. Registering for a free account
2. Asking your question
3. Receiving an answer

Registered members:
* Get free support
* Communicate privately with other members (PM).
* Removal of this message
* See fewer ads.
* And much more..

 





Want to know how to post a question? click here Having problems with spyware and pop-ups? First Steps
Go Back   Tech Support Forum > Alternative Computing > Linux Support
User Name
Password
Site Map Register Donate Rules Blogs Mark Forums Read

Linux Support Linux - Operating Systems and Applications Support

Reply
 
Thread Tools
Old 06-24-2008, 03:09 PM   #1 (permalink)
Registered User
 
Join Date: Jan 2008
Posts: 20
OS: fedora8


Thumbs Down file editing

I have created a file with vi -x (file name) this is encrypted file when i again open this file it ask me to enter a password before editing it.Can i remove this password but i don't want to delete a file how to do this.

Thanks
ambavaram is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Bookmark on Thread SoupReddit!
Reply With Quote
Old 06-27-2008, 05:21 AM   #2 (permalink)
af3
TSF Enthusiast
 
af3's Avatar
 
Join Date: Jun 2008
Location: USA
Posts: 757
OS: Windows XP SP3

My System

Re: file editing

Once you encrypt something, you need to decrypt it with the password. Once you open it, you should be able to transfer the exposed data to an unencrypted location. In most cases, there is no way to remove a password from an encrypted file.
Good luck!
__________________
You are currently using 0 MB (0%) of your 7171 MB, what's wrong with you?
af3 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Bookmark on Thread SoupReddit!
Reply With Quote
Old 06-27-2008, 07:41 PM   #3 (permalink)
Registered User
 
Join Date: Oct 2007
Location: Littleton, Colorado USA
Posts: 412
OS: xp 64 sp2 Fedora Core 8 (vmware xp core 8 x32) Minix


Re: file editing

Try this.

Load the file with "vi -x filename". Then do a ":w <newfilename>, (dont't forget the colon). It might say it can't write to the new file name. If that happens then do: ":w! <newfilename>". The bang (!) forces the write. Get out of the file and then vi the <newfilename>. What you just did was write the contents out without encryption.

Let us know if this worked.
lensman3 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Bookmark on Thread SoupReddit!
Reply With Quote
Old 07-10-2008, 12:04 PM   #4 (permalink)
Registered User
 
Join Date: Jul 2008
Posts: 23
OS: freebsd, slackware


Re: file editing

instead of creating files with vi, just use "touch"

Code:
[lntv@detox ~] touch filename
then use vi to open and edit it.
acd0 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Bookmark on Thread SoupReddit!
Reply With Quote
Old 07-10-2008, 06:11 PM   #5 (permalink)
Moderator
 
shuuhen's Avatar
 
Join Date: Sep 2004
Location: Colorado
Posts: 731
OS: Mac OS 9.1, Mac OS X 10.5.5, WinXP Pro, FreeBSD 6.0, Gentoo Linux


Re: file editing

Quote:
Originally Posted by acd0 View Post
instead of creating files with vi, just use "touch"

then use vi to open and edit it.
Why touch first? Just using vi filename would create a non-encrypted file.
__________________


Has it been a few days since I replied to your thread? Don't panic! I'm a busy college student and may forget a post if I'm extra busy (or it might just take me a while to be able to do a decent reply). If you still need help and are awaiting my reply after a few days, PM me about it.

When posting what errors you get, please give the full message. It makes helping you much easier.
shuuhen is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Bookmark on Thread SoupReddit!
Reply With Quote
Old 07-10-2008, 10:50 PM   #6 (permalink)
Registered User
 
Join Date: Jul 2008
Posts: 23
OS: freebsd, slackware


Re: file editing

lol good point.
acd0 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Bookmark on Thread SoupReddit!
Reply With Quote
Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



All times are GMT -7. The time now is 09:46 AM.



Copyright 2001 - 2008, Tech Support Forum

Search Engine Friendly URLs by vBSEO

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82