Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Show HN: Simple and easy Password Manager on the terminal
2 points by atum47 on June 3, 2020 | hide | past | favorite | 2 comments
Well, I've been using this "password manager" for quite a while now and decided to share with everyone.

    sudo cat /home/you_user_name/your_password_file.txt | grep $1 | cut -d "|" -f1 | tr -d "\n" | xclip -selection clipboard
Where 'your_password_file.txt' is a text file (accessible by your user only, with your password) with the following pattern:

password|place_that_password_belongs_to

this way you can create all kinds of crazy passwords, like:

    fAnPb;dL998Bm(~|google  
    \9prC82D#DW2(V!|facebook  
    zbKBq@76P]FJ<;{|hackernews  
So when you call your script passing 'google' as an argument, it will place your crazy password into your copy/paste.


Do you have your passwords in plain text in your home folder? It seems like Pass (https://www.passwordstore.org/) would solve this problem in a more secure fashion.


yes, cause they're secure in a root file and you need my password to read.

also you need my password to boot my laptop and to decript my hard drive, so I'm safe.

this is just a quick way of copy and paste password without them to a third-party app




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: