VMware Cloud Community
TIM02210
Contributor
Contributor

Permissions on ESX - Using Win SPC

I'm pretty new to this, I have a question about which ESX account I should be using to manage ESX. I need to copy some files to ESX and I am using WinSPC to do so. If I log into the ESX server vith WinSPC using the "adm" or the "vpxuser" accounts I don't seem to have any permissions. I try coping files to the "etc" or "opt" folders and I get access denied. If I try to create new folders within the folders or at the root I have the same problem. I cannot log into WinSPC with the "root" account even though I granted the account shell access. I am trying to install the HP SMH on the ESX servers. What account should I be using to copy and execute files?

0 Kudos
3 Replies
madda
Hot Shot
Hot Shot

The recommendation is to create another account with shell access with appropriate privelages.

You can use the root account to access the shell, but this is not recommended. If you really want to use the root account, then you can enable it using the link below:

http://www.virtualizationteam.com/virtualization-vmware/vmware-vi3-root-shell-access.html

----- Mark Atherton
0 Kudos
malaysiavm
Expert
Expert

to allow the root account with Winscp, you need to have the permitrootlogon option enable from the /etc/ssh/sshd_config

once you had done that, you need to restart the sshd service from the esx. Remember, this is not recommend to have root enable from SSH due to security reason. If you want to upload your file to the ESX, you should look at Virtual center, which allow you to upload your file directly to any of the datastore you can see from your virtual center console. that way will simplify the process to transfer file around your machine and ESX.

Malaysia VMware Communities -

Craig vExpert 2009 & 2010 Netapp NCIE, NCDA 8.0.1 Malaysia VMware Communities - http://www.malaysiavm.com
0 Kudos
jayolsen
Expert
Expert

Might want to give FastSCP a try, it allows a regular user to "su" through the gui to root. As a bonus its faster than SCP and still free.

http://www.veeam.com/vmware-esx-fastscp.html

0 Kudos