RE: VPS Initial Setup for Masternode

You are viewing a single comment's thread from:

VPS Initial Setup for Masternode

in vps •  7 years ago 

this guide is awesome ... the only problem i have so far is

adduser adam && adduser adam sudo

what is the password for the new user? replaced my name with adam and when i try to login it asks for password that i didn't set

thanks

Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!
Sort Order:  

Hi @mrsray, sorry for not replying sooner, I wasn't notified by steemit about your comment.

Did you manage to fix your problem?

Ideally when you create the new user and password you should write them down in notepad and save it before you copy and paste them into the terminal. To fix your problem log into the VPS as root and try the following.

To list all the users on the system try the following:

compgen -u

Then once you found the UserName you can't log in as, type the following to delete that user and their Home Directory.

sudo deluser --remove-home UserName

Then write down into Notepad and save the new user name and a new secure password and try again with the commands from the guide.

adduser UserName && adduser UserName sudo

Obviously replacing UserName with your own name lol Also when it asks twice for a password, copy it from Notepad (make sure you don't copy any spaces at the begining or end) and right click in the terminal followed by Enter, that way you can avoid mistakes as you won't be typing the password just pasting something you have copied.

I hope this helps you.