- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am unable to enable bash shell access in vSphere (v7.0.3.00100).
When I attempt to set "Bash Shell" to "enabled" via the vCenter Server Management GUI, I'll toggle it to enable and set a timeout. When I hit "OK," vSphere immediately disconnects me and logs me out.
When I log in via SSH to vSphere and attempt to enable bash, I get a "not authorized" error. I'm not using "root" or "administrator," but account in "vsphere.local" that are in the "Administrator" group.
Command> shell.set --enabled true
Error in method: Not authorized to use this API (code 3000)
Command>
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
In this case you user as you can see is not authorized to do activity on the appliance vCenter, the administrator group are the administrator of the vsphere.local SSO not the Appliance itself.
Could be that if you put that user in this group:
SystemConfiguration.BashShellAdministrators
you should be able to use that user in bash
let me know
GioDomi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
That was it. Grazi!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Giodomi
thank yoyou for help ![]()