LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-27-2013, 11:17 AM   #1
NotAComputerGuy
Member
 
Registered: Jun 2012
Distribution: Linux Mint - Debian Edition
Posts: 348

Rep: Reputation: 13
Password File, No Not That One.


Hi,

I want to create a password file so I'm not using the same password for each site. What options do I have to secure it?

Ideally I'd like to have just a text file, encrypted, so when I read it I need to enter the password and then immediately it encrypts itself again so to read it again I have to type in the password again.

Other security ideas for this file would be great. Thanks
 
Old 06-27-2013, 11:19 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
You've not said a thing about what these passwords are for. Site? Are we talking abuot a website access? htaccess?? throw us a bone please.
 
Old 06-27-2013, 11:30 AM   #3
NotAComputerGuy
Member
 
Registered: Jun 2012
Distribution: Linux Mint - Debian Edition
Posts: 348

Original Poster
Rep: Reputation: 13
Of course! My apologies! Passwords for Websites.
 
Old 06-27-2013, 11:42 AM   #4
Z038
Member
 
Registered: Jan 2006
Distribution: Slackware
Posts: 835

Rep: Reputation: 165Reputation: 165
I suggest you look at KeePassX. It's handles the automatic encryption for you. You can keep one database or multiple, as many as you need. You can define subgroups in each database to separate passwords into different categories, such as email, web forums, banking, or whatever is meaningful to you.

It can also generate strong passwords for you of any length you like using one of its built-in character group selections, or using a custom set of parameters you define. You can bring up any entry and copy the password from it with ctrl+c and paste it into a form. Use ctrl+b for the username. It copies it into your clipboard so you can paste it somewhere, then it deletes it from your clipboard later after a time interval you can specify in the settings.

There is also an autotyping capability you can set up for each web site login form where you need to enter a username and password, and it will type in the username and password for you without using the clipboard and while employing some obfuscating tactics to make it less vulnerable to key loggers.

Overall, it's much more flexible than a simple encrypted text file, takes less effort to maintain, and may even be more secure.

Last edited by Z038; 06-27-2013 at 11:44 AM.
 
Old 06-30-2013, 09:38 PM   #5
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.8, Centos 5.10
Posts: 17,240

Rep: Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324
Another vote for KeepassX.
FYI its based off a version called Keepass that runs on MS, so if you use MS at work, you can use the 'same' tool.
http://keepass.info/download.html

Last edited by chrism01; 07-01-2013 at 08:21 PM. Reason: typo
 
Old 06-30-2013, 10:11 PM   #6
sgosnell
Senior Member
 
Registered: Jan 2008
Location: Baja Oklahoma
Distribution: Debian
Posts: 1,054

Rep: Reputation: 276Reputation: 276Reputation: 276
Both KeePassX and KeePass will run on Linux. There are also other password managers available. They're designed for the task you want, and would be much easier to use than an encrypted text file. But if you insist on a text file, gpg will do the job, as well as some other encryption tools. You have lots of choices for this, but my choice would be a password manager, probably either KeePassX or KeePass. You could also use LastPass in Firefox or Iceweasel, and that works well enough, but it only works in the browser, so you need it open anytime you need a password. If all you need are passwords for websites, then LastPass may be good enough. It doesn't require a new package install, it's just an addon for your browser.

Last edited by sgosnell; 06-30-2013 at 10:13 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to change password using a script file and text file? hayloiuy Linux - Newbie 5 06-27-2011 02:13 AM
How to use key file instead of password for LUKS encrypted file systems? lucmove Linux - Security 2 06-30-2009 10:17 AM
password file roAder Slackware 2 02-28-2005 07:08 PM
password file juno Linux - General 13 10-04-2002 10:27 AM


All times are GMT -5. The time now is 03:17 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration