Bitcoin Forum
October 22, 2017, 02:09:52 PM *
News: Latest stable version of Bitcoin Core: 0.15.0.1  [Torrent]. (New!)
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: Warning for Linux users running bitcoind, litecoind, xxxcoind...  (Read 1216 times)
bitfish
Full Member
***
Offline Offline

Activity: 163

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


1508681392
Hero Member
*
Offline Offline

Posts: 1508681392

View Profile Personal Message (Offline)

Ignore
1508681392
Reply with quote  #2

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

Posts: 1508681392

View Profile Personal Message (Offline)

Ignore
1508681392
Reply with quote  #2

1508681392
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: 163

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: 163

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!