- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Try changing the shell to sh from bash and see if that works
$ echo $0
/bin/bash
$ exec /bin/sh
$ echo $0
/bin/sh
Suresh
https://vconnectit.wordpress.com/
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
It is not bash command.
After you log in to vcenter do not enter shell, just execute this command.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You will have to run this command from appliancesh
chsh -s /bin/appliancesh root --> Execute this command and establish a new ssh session
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
is there a way to prepopulate the password - I've tried and get PASSWORD_STR cant use passwords on the command line error
Manual entry of the password seems to be the only way -