Ubuntu 11: failed to use sudo to install vmware-tools

Asked by Ice o. Star

Hi Fellows,
I trust you are well.
To run the vmware-install.pl on a terminal, in order to install VMWare Tools I need to be super user.
The fact of the matter is I'm already administrator of the system and belong to the adm, admin, ... groups.
Here an extract of the terminal:
ice@ubuntu:~/vmware-tools-distrib$ sudo –u root apt-get
[sudo] password for ice:
sudo: –u: command not found
ice@ubuntu:~/vmware-tools-distrib$ sudo –u root apt-get
sudo: –u: command not found
ice@ubuntu:~/vmware-tools-distrib$ ./vmware-install.pl
Please re-run this program as the super user.

Execution aborted.
---
What now?

Regards,

IOS

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu sudo Edit question
Assignee:
No assignee Edit question
Solved by:
enubuntu
Solved:
Last query:
Last reply:
Revision history for this message
Best enubuntu (mr.tennents) said :
#1

Please read this:
http://aplawrence.com/Basics/sudo.html

For run a program as superuser, you have to put sudo just before the command. In your case, for example, it will be this:
sudo ./vmware-install.pl

OR

you can be superuser by enter this command:
su

After this the terminal will ask for your password, once you have insert this, you can launch any command from the superuser.

Revision history for this message
Ice o. Star (ice-o-star) said :
#2

Thank you.

I got it. It is working.

Regards,

IOS

On 2 September 2011 22:01, Enrico "eNry" Carafa <
<email address hidden>> wrote:

> Your question #169934 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/169934
>
> Status: Open => Answered
>
> Enrico "eNry" Carafa proposed the following answer:
> Please read this:
> http://aplawrence.com/Basics/sudo.html
>
> For run a program as superuser, you have to put sudo just before the
> command. In your case, for example, it will be this:
> sudo ./vmware-install.pl
>
> OR
>
> you can be superuser by enter this command:
> su
>
> After this the terminal will ask for your password, once you have insert
> this, you can launch any command from the superuser.
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https://answers.launchpad.net/ubuntu/+question/169934/+confirm?answer_id=0
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https://answers.launchpad.net/ubuntu/+question/169934
>
> You received this question notification because you asked the question.
>

--
Ice O. Star

Revision history for this message
Ice o. Star (ice-o-star) said :
#3

Thanks Enrico "eNry" Carafa, that solved my question.