2 Answers
2

Unlock an account (may be creation index) until this program exits (prompts for password). --unlock takes multiple params, it could be an index of your account like 0, 2, 3 or it can be an address 0x12a.. or this can be primary to unlock primary account.

from the geth console

personal.unlockAccount(address, "password")

Unlock multiple accounts from the command line

--unlock Unlock an account (may be creation index) until this program exits (prompts for password)
--password Password file to use with options/subcommands needing a pass phrase

Command example

geth --unlock primary --password "/path/to/file" this will unlock your primary account if the password specified in "/path/to/file" is correct.