jacksonp2008
Contributor
Contributor

localaccounts.user.add command is missing, can't create local account on vcsa

Your documentation points to this command:  Create a Local User Account in the vCenter Server Appliance

localaccounts.user.add

Which doesn't exist on this machines.

```

root@vcsa [ / ]# localaccounts.user.add

bash: localaccounts.user.add: command not found

```

I am on vCenter 6.5.0, build: 5973321

Tags (1)
3 Replies
SureshKumarMuth
Commander
Commander

Try changing the shell to sh from bash and see if that works

$ echo $0

/bin/bash

$ exec /bin/sh

$ echo $0

/bin/sh

Regards, Suresh https://vconnectit.wordpress.com/
0 Kudos
porzech
Enthusiast
Enthusiast

It is not bash command.

After you log in to vcenter do not enter shell, just execute this command.

0 Kudos
Vijay2027
Expert
Expert

You will have to run this command from appliancesh

pastedImage_0.png

chsh -s /bin/appliancesh root --> Execute this command and establish a new ssh session