geth personal.newAccount() shows password error

0 votes

Hi. I am facing some problem with ethereum. I am trying to create a new account. When I was searching for how to do this, I found this command:

geth personal.newAccount()

Now it was mentioned in that blog that I had to enter a password for this. I don't see where to enter the password. When I run this command, I am not asked for any password. I just get this error:

geth:129: command not found:password.

Please help me with this

Jan 16 in Blockchain by slayer
• 29,050 points
19 views

1 answer to this question.

0 votes

You have to pass the password as an argument to the command you are running. The right syntax for this command is:

geth personal.newAccount('your_password')
answered Jan 16 by Omkar
• 67,120 points

Related Questions In Blockchain

0 votes
1 answer

geth personal.newAccount()\npassword command broke Ethereum CLI

The issue is with your command. It's ...READ MORE

answered Aug 1, 2018 in Blockchain by Perry
• 17,010 points
82 views
0 votes
1 answer

Geth account password on command line

You've got the following two ways to create ...READ MORE

answered May 29, 2018 in Blockchain by Perry
• 17,010 points
185 views
0 votes
1 answer

'Invalid sender' error after upgrading to geth 1.4.0

Guessing that the JSON RPC stuff changed ...READ MORE

answered Sep 11, 2018 in Blockchain by Christine
• 15,790 points
39 views
0 votes
1 answer

Solidity geth: Error encountered during contract execution [Bad instruction]

recipes is a dynamic storage array. You need ...READ MORE

answered Oct 15, 2018 in Blockchain by Omkar
• 67,120 points
54 views
0 votes
1 answer

Truffle tests not running after truffle init

This was a bug. They've fixed it. ...READ MORE

answered Sep 11, 2018 in Blockchain by Christine
• 15,790 points
104 views
0 votes
1 answer
0 votes
0 answers

Error: Unexpected token o in JSON at position 1

I have been working with Interacting a ...READ MORE

Mar 6 in Blockchain by saeedi
• 120 points

edited Mar 6 by Omkar 229 views
0 votes
1 answer

“geth attach” command shows error: Fatal: Unable to attach to remote geth

Seems like the geth.ipc file is not present in ...READ MORE

answered Jan 16 in Blockchain by Omkar
• 67,120 points
61 views
+1 vote
1 answer

Ethereum Error: authentication needed: password or unlock

First, make sure you have an account. web3.personal.listAccounts If ...READ MORE

answered Aug 8, 2018 in Blockchain by Omkar
• 67,120 points
388 views