From: VMware, Inc <> Date: Thu, 18 Nov 2010 21:42:54 +0000 (-0800) Subject: Disable the tools upgrade UI for non-admin guest users. X-Git-Tag: 2010.11.17-327185~59 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=4443fb4c774ce80308e2c8357a003299d40f2139;p=thirdparty%2Fopen-vm-tools.git Disable the tools upgrade UI for non-admin guest users. Signed-off-by: Marcelo Vanzin --- diff --git a/open-vm-tools/toolbox/toolbox-cmd.c b/open-vm-tools/toolbox/toolbox-cmd.c index 896d5fef7..3a028132e 100644 --- a/open-vm-tools/toolbox/toolbox-cmd.c +++ b/open-vm-tools/toolbox/toolbox-cmd.c @@ -99,7 +99,7 @@ static CmdTable commands[] = { { "stat", Stat_Command, TRUE, FALSE, Stat_Help}, { "device", Device_Command, TRUE, FALSE, Device_Help}, #if (defined(_WIN32) || defined(linux)) && !defined(OPEN_VM_TOOLS) - { "upgrade", Upgrade_Command, TRUE, FALSE, Upgrade_Help}, + { "upgrade", Upgrade_Command, TRUE, TRUE, Upgrade_Help}, #endif { "help", HelpCommand, FALSE, FALSE, ToolboxCmdHelp}, };