Bitcoin Forum
December 15, 2017, 04:51:41 PM *
News: Latest stable version of Bitcoin Core: 0.15.1  [Torrent].
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: Warning for Linux users running bitcoind, litecoind, xxxcoind...  (Read 1235 times)
bitfish
Full Member
***
Offline Offline

Activity: 174

A Coin A Day Keeps The Cold Away.


View Profile
May 24, 2013, 05:18:22 PM
 #1

If you are running bitcoind, litecoind or any other coin daemon from the command line,
you better check your .bash_history file (and .viminfo file, if you are using vim editor)
for wallet password leaks.

Your wallet encryption isn't worth a dime if your wallet password is stored in one of those files above.

Put the line

HISTIGNORE="*pass*"

into your .bashrc file preventing bash shell from remembering you wallet password and other password strings.

Enjoy!
bitfish


Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1513356701
Hero Member
*
Offline Offline

Posts: 1513356701

View Profile Personal Message (Offline)

Ignore
1513356701
Reply with quote  #2

1513356701
Report to moderator
1513356701
Hero Member
*
Offline Offline

Posts: 1513356701

View Profile Personal Message (Offline)

Ignore
1513356701
Reply with quote  #2

1513356701
Report to moderator
wormbog
Hero Member
*****
Offline Offline

Activity: 561



View Profile
May 24, 2013, 05:22:37 PM
 #2

Came for more info about xxxcoin, I am disappoint.
allbits
Newbie
*
Offline Offline

Activity: 21


View Profile
May 24, 2013, 05:56:17 PM
 #3

Thanks for the vim/bash tip
Soul_Est
Newbie
*
Offline Offline

Activity: 7


View Profile
May 24, 2013, 06:12:18 PM
 #4

Thank you very much for posting that bitfish. I've since added it to my .zshrc file.
bitfish
Full Member
***
Offline Offline

Activity: 174

A Coin A Day Keeps The Cold Away.


View Profile
May 24, 2013, 09:13:55 PM
 #5

Came for more info about xxxcoin, I am disappoint.

Simply replace xxx with the name of your favorite JunkAltCoin  Grin

Since these coins are springing up nowadays faster than mushrooms after a heavy shower,
it's really hard keeping up.

OpenYourEyes
Full Member
***
Offline Offline

Activity: 238



View Profile
May 24, 2013, 09:21:35 PM
 #6

Good spot.

You can also add: export HISTCONTROL=ignorespace to your .bashrc
Now if you type a command with a space in front of it, it won't get saved to your history file.

takemybitcoins.com: Spend a few seconds entering a merchants email address to encourage them to accept Bitcoin
PGP key | Bitmessage: BM-GuCA7CkQ8ojXSFGrREpMDuWgv495FUX7
bitfish
Full Member
***
Offline Offline

Activity: 174

A Coin A Day Keeps The Cold Away.


View Profile
May 24, 2013, 10:32:10 PM
 #7

Thank you very much for posting that bitfish. I've since added it to my .zshrc file.

And check you backups (I'm sure you have a backup  Grin  )

Go to the root dir of your backup drive and do a:
Code:
#find ./ -name .bash_history -exec rm {} \;  
#find ./ -name  .viminfo -exec rm {} \;

or even better:
Code:
#find ./ -name .bash_history -exec wipe -f {} \;
#find ./ -name .viminfo -exec wipe -f {} \;

(You need wipe installed)
Pages: [1]
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!