Welcome to the Linux Foundation Forum!
Password in a file..??
Comments
-
Not the file per say but you can encrypt a folder with True crypt. Is that what your looking to do? Also Nautilus has encryption functionalities.0
-
You can use dd to create a fake partition and use cryptsetup to encrypt the false partition. If you store files within the partition then they can only be accessed after you successfully mount the partition and use the correct password.0
-
lucky you, someone just posted on commandlinefu about the vim password protection. just use vim -x {filename}
the post is on[url] http://www.commandlinefu.com/commands/view/2100/add-password-protection-to-a-file-your-editing-in-vim.[/url]0 -
what happen i am the one last posted what distro? intro. i am automatically log out ????
:woohoo: :woohoo: :woohoo: :woohoo:0 -
I tested it on slackware and it works, are you using vi or vim?0
-
i always using vi, but i try vim -x test but no luck. what is the exact command you run?
:unsure:0 -
The site has done that to me before.
I would recommend installing vim ( vi improved) which has the encryption capabilities, vi is still basic and does not have the same functionality.0 -
tnx bro. i will try your suggestion.
tnx a lot0 -
vim -x file
then it asks for the file password that I want to use.
I am installing ubuntu 9.04 as a virtual now to test it.0 -
mfillpot wrote:lucky you, someone just posted on commandlinefu about the vim password protection. just use vim -x {filename}
the post is on[url] http://www.commandlinefu.com/commands/view/2100/add-password-protection-to-a-file-your-editing-in-vim.[/url]
nice0 -
ok done.
i installed vim :
sudo apt-get install vim
then after that:
vim -x test
enter encryption keys:
yehey!!! problem solve.....0 -
I am glad to see that it works for you.
Rather than encrypting single files I store all of my sensitive files in a single encrypted false-partition so that all files are centrally located and accessible with a single password.
I would suggest looking into it if you need to protect multiple files.0 -
My reason:
i am doing it because im gonna bind my different files using windows "Google file binding binary mode" , then transfer the file in my ubuntu box then edit it and put a password. if anyone will look my file they will say it is only a regular large file but they do not know that some files are bonded. ^__^0
Categories
- All Categories
- 178 LFX Mentorship
- 178 LFX Mentorship: Linux Kernel
- 775 Linux Foundation IT Professional Programs
- 384 Cloud Engineer IT Professional Program
- 175 Advanced Cloud Engineer IT Professional Program
- 75 DevOps IT Professional Program - Discontinued
- 7 DevOps & GitOps IT Professional Program
- 103 Cloud Native Developer IT Professional Program
- 7.7K Training Courses & Learning Paths
- 13 AI & ML Training
- 1 Blockchain & Decentralized Identity Training
- 35 Cloud & Containers Training
- 3 Cybersecurity Training
- 3 DevOps & Site-Reliability Training
- 2 Linux Kernel Development Training
- 2 Networking Training
- 2 Open Source Best Practice Training
- 5 System Administration Training
- 1 System Engineering Training
- 6 Web & Application Development Training
- 798 Hardware
- 202 Drivers
- 68 I/O Devices
- 37 Monitors
- 96 Multimedia
- 173 Networking
- 91 Printers & Scanners
- 92 Storage
- 773 Linux Distributions
- 81 Debian
- 68 Fedora
- 24 Linux Mint
- 13 Mageia
- 24 openSUSE
- 151 Red Hat Enterprise
- 32 Slackware
- 13 SUSE Enterprise
- 356 Ubuntu
- 472 Linux System Administration
- 31 Cloud Computing
- 73 Command Line/Scripting
- Github systems admin projects
- 103 Linux Security
- 79 Network Management
- 102 System Management
- 46 Web Management
- 166 Mobile Computing
- 32 Android
- 119 Development
- 1.2K New to Linux
- 1K Getting Started with Linux
- 407 Off Topic
- 128 Introductions
- 35 Study Material
- 1.1K Programming and Development
- 311 Kernel Development
- 723 Software Development
- 1K Software
- 418 Applications
- 183 Command Line
- 5 Compiling/Installing
- 71 Games
- 320 Installation
- Archived
- 183 Small Talk
- 2 LFD140 Class Forum
- 1.4K LFS258 Class Forum
Upcoming Training
-
August 20, 2018
Kubernetes Administration (LFS458)
-
August 20, 2018
Linux System Administration (LFS301)
-
August 27, 2018
Open Source Virtualization (LFS462)
-
August 27, 2018
Linux Kernel Debugging and Security (LFD440)