Bitcoin Forum
June 22, 2024, 11:35:46 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 ... 3680 3681 3682 3683 3684 3685 3686 3687 3688 3689 3690 3691 3692 3693 3694 3695 3696 3697 3698 3699 3700 3701 3702 3703 3704 3705 3706 3707 3708 3709 3710 3711 3712 3713 3714 3715 3716 3717 3718 3719 3720 3721 3722 3723 3724 3725 3726 3727 3728 3729 [3730] 3731 3732 3733 3734 3735 3736 3737 3738 3739 3740 3741 3742 3743 3744 3745 3746 3747 3748 3749 3750 3751 3752 3753 3754 3755 3756 3757 3758 3759 3760 3761 3762 3763 3764 3765 3766 3767 3768 3769 3770 3771 3772 3773 3774 3775 3776 3777 3778 3779 3780 ... 7012 »
  Print  
Author Topic: [ANN][DASH] Dash (dash.org) | First Self-Funding Self-Governing Crypto Currency  (Read 9722683 times)
Lukas_Jackson
Hero Member
*****
Offline Offline

Activity: 615
Merit: 501



View Profile
December 28, 2014, 08:37:48 PM
Last edit: December 28, 2014, 08:52:57 PM by Lukas_Jackson
 #74581

If you create a new wallet.dat, encrypt it, back it up, getnewaddress and send funds to it, does the back up of the wallet.dat also have the new address? Does getnewaddress actually create a new address or just assign one? Is that what the keypool size is?
You don't have to back it up after every new address generation.
But you have to after importprivkey because it's a new privkey added to your wallet.

Doesn't each new generated public key have a new private key associated with it?  So I you don't backup the wallet, you won't have the newly generated key pairs . Would be odd that it stored a bunch of keys just in case.

I did not know how that works either. Here it says "The keypool parameter just sets how many extra keys the client creates when it needs to create keys."
http://bitcoin.stackexchange.com/questions/770/what-does-keypool-1-do

the wiki does not give explicit information about this https://en.bitcoin.it/wiki/Key_pool

so YES, executing getnewaddress means you need a new backup
No, you don't. If you start your old backup wallet you will have all coins sent to you at your new addresses.
What you won't have is just addresses in your book.

Edit: You missed that post in your link:
"With keypool of 100 (the default) you could make 100 new addresses (via new transactions) and the backup would still be valid." –  DeathAndTaxes Nov 5 '11
Satoshi https://bitcointalk.org/index.php?topic=1414.0

It is easier to be an aggressive victim than to be a free man.
eahmadov
Full Member
***
Offline Offline

Activity: 210
Merit: 100


View Profile
December 28, 2014, 08:57:00 PM
 #74582


Next Litecoin dump incoming.



such a slow and painfull death of a coin... (we are talking about LTC).





You must be new in crypto Smiley
toknormal
Legendary
*
Offline Offline

Activity: 3066
Merit: 1188


View Profile
December 28, 2014, 11:02:03 PM
 #74583

I tink I've shut myself out of my masternode server.

I disabled root login using sudo passwd -l root and then tried to switch to root user from my 'login user' account.

But it tells me that my login user isn't in the 'sudoers' file so I've lost root privileges and can't even shutdown.

Am I screwed ? Do I need to start again ?

This worked on Amazon EC2 (presumably because some 'switch' was used in the create 'login user' step). But it doesn't on Vulture.

How do I disable root login on Vulture without locking myself out ?
balu
Full Member
***
Offline Offline

Activity: 208
Merit: 100


View Profile
December 28, 2014, 11:07:10 PM
 #74584

Worst case scenario you reinstall the server. No big deal.
Lebubar
Legendary
*
Offline Offline

Activity: 1288
Merit: 1000



View Profile
December 28, 2014, 11:16:51 PM
 #74585

You have the root password?
su -
toknormal
Legendary
*
Offline Offline

Activity: 3066
Merit: 1188


View Profile
December 28, 2014, 11:22:14 PM
 #74586

You have the root password?
su -


Yes - I have the root password, but when I use it the terminal returns "Authentication failure" which is understandable because I disabled root login.

I suppose I could delete the server and start again but then I'd need to understand the interaction a bit better between the root user and the 'login' user. I think if I give the login user admin privileges ('sudo' privilages) when I create it then that would probably solve it. Maybe that's the difference between Tao's guide and the others - he doesn't give the login user 'sudo' privileges when he creates it but he seems to simply do everything under root when he needs to.

Then my question is, who's home should the ~/.darkcoin directory be created in - is it always the 'login user' ?
oblox
Legendary
*
Offline Offline

Activity: 1442
Merit: 1018


View Profile
December 28, 2014, 11:30:46 PM
 #74587

You have the root password?
su -


Yes - I have the root password, but when I use it the terminal returns "Authentication failure" which is understandable because I disabled root login.

I suppose I could delete the server and start again but then I'd need to understand the interaction a bit better between the root user and the 'login' user. I think if I give the login user admin privileges ('sudo' privilages) when I create it then that would probably solve it. Maybe that's the difference between Tao's guide and the others - he doesn't give the login user 'sudo' privileges when he creates it but he seems to simply do everything under root when he needs to.

Then my question is, who's home should the ~/.darkcoin directory be created in - is it always the 'login user' ?


As a general rule, never install software as root. As such, your user account would be the one with the darkcoin daemon running on it.
raico
Member
**
Offline Offline

Activity: 115
Merit: 10


View Profile
December 28, 2014, 11:32:32 PM
 #74588


Next Litecoin dump incoming.



such a slow and painfull death of a coin... (we are talking about LTC).





You must be new in crypto Smiley

 Cheesy you just made a joke calling qwizzie a newbie. LTC was already dead that some of us even barely mention it long time ago. If you miss that escape time window at that moment, good luck, cause you will need it.

Dash
All good for Bitcoin is good for Crypto-Currency, at the present~
All good for Crypto-Currency is good for Dash, in the end~
toknormal
Legendary
*
Offline Offline

Activity: 3066
Merit: 1188


View Profile
December 28, 2014, 11:38:59 PM
 #74589

As a general rule, never install software as root. As such, your user account would be the one with the darkcoin daemon running on it.

Thanks !

Am I right in thinking that to comply with this advice, Tao's guide would have to give 'sudo' privilages to the login user ? (Otherwise they can't do all the admin associated with installing the daemon).
thelonecrouton
Legendary
*
Offline Offline

Activity: 966
Merit: 1000


View Profile
December 28, 2014, 11:52:43 PM
 #74590

As a general rule, never install software as root. As such, your user account would be the one with the darkcoin daemon running on it.

Thanks !

Am I right in thinking that to comply with this advice, Tao's guide would have to give 'sudo' privilages to the login user ? (Otherwise they can't do all the admin associated with installing the daemon).


You don't need root to install/run/administer the daemon (unless you want to stick it in /usr/bin which is a waste of time IMO), just to set up the firewall and install any dependencies you need if you want to compile it yourself instead of downloading the binary.
toknormal
Legendary
*
Offline Offline

Activity: 3066
Merit: 1188


View Profile
December 29, 2014, 12:19:49 AM
 #74591

You don't need root to install/run/administer the daemon (unless you want to stick it in /usr/bin which is a waste of time IMO), just to set up the firewall and install any dependencies you need if you want to compile it yourself instead of downloading the binary.

LoL. Thanks, but I've just done exactly that  Cheesy

Jeez. There are so many ways of doing this. I'm learning more about Linux than I am about setting up masternodes (which is probably no bad thing).

In the end I just binned that last server and started again doing this:

 - changed the root password to something complicated
 - added a new user with "sudo useradd <myloginName> -s /bin/bash -g sudo -m

So that I had a login user that wasn't the root but that had "sudo" privileges. This time everything's going great - I can do it all with the loginuser and sticking "sudo" in front of everything.

I downloaded darkcoind from wget https://raw.githubusercontent.com/darkcoinproject/darkcoin-binaries/master/darkcoin-0.10.17.24-linux.tar.gz

I "cd"d all the way into the expanded directories down to /64 and "mv"d darkcoind into /usr/bin. (Cos I quite like the idea of executables being in the bin directory and anyway, I think Linux looks there first f you just type 'darkcoind' without any leading directory).

Then I created ~/.darkcoin and now I'm going to do the darkcoin.conf and try to 'jiggbyDoThinxomoly' it with my local darkcoin.conf using a masternode genkey that I'll do on the Darkcoin QT on the Mac.

Sorry if this all sounds a bit cringeable to you Linux buffs but there just seem to be so many different ways of doing stuff in Linux and places where you can put stuff that I decided just to arbitrate on a few approaches.

P.S. I of course used Tao's ufw firewall commands to open 9999, limit port 22 to SSH access and close everything else. Also disabled root login according to chaeplin's original guide for EC2.

So my procedure is a kind of hybrid of Tao's and Chaeplin's.

thelonecrouton
Legendary
*
Offline Offline

Activity: 966
Merit: 1000


View Profile
December 29, 2014, 12:28:57 AM
 #74592

there just seem to be so many different ways of doing stuff in Linux

Freedom is beautiful, eh?  Grin
toknormal
Legendary
*
Offline Offline

Activity: 3066
Merit: 1188


View Profile
December 29, 2014, 12:33:20 AM
 #74593

Freedom is beautiful, eh?  Grin

I suppose so  Huh

Laxdude7691
Member
**
Offline Offline

Activity: 102
Merit: 10


View Profile
December 29, 2014, 01:11:33 AM
 #74594

http://cointelegraph.com/news/113207/coinbase-is-tracking-how-users-spend-their-bitcoins

when will the masses(crypto masses) see the light?(DRK Roll Eyes)
tungfa
Legendary
*
Offline Offline

Activity: 1834
Merit: 1023


View Profile
December 29, 2014, 01:20:48 AM
 #74595

Quote
Documents published by @DerSPIEGEL @laurapoitras @ioerror today reveal #NSA compromise SSH, SSL,TSL and store cryptographic handshakes #31c3
this will have a stronger effect on crypto than it probably appears on the first look.
- eg. generating paperwallets via browser




Prying Eyes: Inside the NSA's War on Internet Security

http://m.spiegel.de/international/germany/a-1010361.html
TaoOfSaatoshi
Legendary
*
Offline Offline

Activity: 2156
Merit: 1014


Dash Nation Founder | CATV Host


View Profile WWW
December 29, 2014, 01:27:16 AM
 #74596

Twitter down.  Sad

You don't need root to install/run/administer the daemon (unless you want to stick it in /usr/bin which is a waste of time IMO), just to set up the firewall and install any dependencies you need if you want to compile it yourself instead of downloading the binary.

LoL. Thanks, but I've just done exactly that  Cheesy

Jeez. There are so many ways of doing this. I'm learning more about Linux than I am about setting up masternodes (which is probably no bad thing).

In the end I just binned that last server and started again doing this:

 - changed the root password to something complicated
 - added a new user with "sudo useradd <myloginName> -s /bin/bash -g sudo -m

So that I had a login user that wasn't the root but that had "sudo" privileges. This time everything's going great - I can do it all with the loginuser and sticking "sudo" in front of everything.

I downloaded darkcoind from wget https://raw.githubusercontent.com/darkcoinproject/darkcoin-binaries/master/darkcoin-0.10.17.24-linux.tar.gz

I "cd"d all the way into the expanded directories down to /64 and "mv"d darkcoind into /usr/bin. (Cos I quite like the idea of executables being in the bin directory and anyway, I think Linux looks there first f you just type 'darkcoind' without any leading directory).

Then I created ~/.darkcoin and now I'm going to do the darkcoin.conf and try to 'jiggbyDoThinxomoly' it with my local darkcoin.conf using a masternode genkey that I'll do on the Darkcoin QT on the Mac.

Sorry if this all sounds a bit cringeable to you Linux buffs but there just seem to be so many different ways of doing stuff in Linux and places where you can put stuff that I decided just to arbitrate on a few approaches.

P.S. I of course used Tao's ufw firewall commands to open 9999, limit port 22 to SSH access and close everything else. Also disabled root login according to chaeplin's original guide for EC2.

So my procedure is a kind of hybrid of Tao's and Chaeplin's.



Happy to see you got your VPS to work, toknormal. Yes, you are right that I prefer to log into root to perform functions like firewall. I'm happy you found something that works for you.


TaoOfSaatoshi
Legendary
*
Offline Offline

Activity: 2156
Merit: 1014


Dash Nation Founder | CATV Host


View Profile WWW
December 29, 2014, 01:29:50 AM
 #74597


Sometime in 2015, I am confident to say! Feel free to bookmark that comment.

tungfa
Legendary
*
Offline Offline

Activity: 1834
Merit: 1023


View Profile
December 29, 2014, 01:47:26 AM
 #74598

31ST CHAOS COMMUNICATION CONGRESS OFFERS CONFIRMATION, SHOCKS

https://hacked.com/31st-chaos-communication-congress-offers-confirmation-shocks/
 Cool
xxxgoodgirls
Legendary
*
Offline Offline

Activity: 1092
Merit: 1001


View Profile
December 29, 2014, 01:56:22 AM
 #74599

You have the root password?
su -


Yes - I have the root password, but when I use it the terminal returns "Authentication failure" which is understandable because I disabled root login.

I suppose I could delete the server and start again but then I'd need to understand the interaction a bit better between the root user and the 'login' user. I think if I give the login user admin privileges ('sudo' privilages) when I create it then that would probably solve it. Maybe that's the difference between Tao's guide and the others - he doesn't give the login user 'sudo' privileges when he creates it but he seems to simply do everything under root when he needs to.

Then my question is, who's home should the ~/.darkcoin directory be created in - is it always the 'login user' ?


Aw too late but if you have been blacklisted for whatever reason from the root access on ssh, vultr still gives you the chance of getting the root access by providing you a console on the vps manager page on vultr.com, just insert the root login.
Anyway if you are using a password access I reccomend you to install fail2ban to avoid bruteforcing, but I'd rather disable password login and use a restricted SSH key login, not so hard to setup.

In summary, the Intel Management Engine and its applications are a backdoor with total access to and control over the rest of the PC. The ME is a threat to freedom, security, and privacy, and the libreboot project strongly recommends avoiding it entirely. Since recent versions of it can’t be removed, this means avoiding all recent generations of Intel hardware. details https://libreboot.org/faq.html#intelme --- https://tehnoetic.com/laptops --- https://store.vikings.net/x200-ryf-certfied
MisfiringNeuron
Newbie
*
Offline Offline

Activity: 54
Merit: 0


View Profile
December 29, 2014, 04:07:19 AM
 #74600

What are the top 3 VPS's for setting up masternodes?  I used up my existing VPS IPs and now need some more.
Pages: « 1 ... 3680 3681 3682 3683 3684 3685 3686 3687 3688 3689 3690 3691 3692 3693 3694 3695 3696 3697 3698 3699 3700 3701 3702 3703 3704 3705 3706 3707 3708 3709 3710 3711 3712 3713 3714 3715 3716 3717 3718 3719 3720 3721 3722 3723 3724 3725 3726 3727 3728 3729 [3730] 3731 3732 3733 3734 3735 3736 3737 3738 3739 3740 3741 3742 3743 3744 3745 3746 3747 3748 3749 3750 3751 3752 3753 3754 3755 3756 3757 3758 3759 3760 3761 3762 3763 3764 3765 3766 3767 3768 3769 3770 3771 3772 3773 3774 3775 3776 3777 3778 3779 3780 ... 7012 »
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!