Results 1 to 6 of 6

Thread: Getting "Authentication denied" when trying to enter password to change to root

  1. #1
    Join Date
    Jun 2006
    Location
    Central Ohio
    Beans
    32

    Getting "Authentication denied" when trying to enter password to change to root

    I'm running Ubuntu 10.04LTS as a virtual machine using VMware Player. I want to use Terminal to use tar to install VMware Tools for VMware Player per instructions at http://www.vmware.com/support/ws55/d...html#wp1127214. When I open Terminal and attempt to change to root via "su -", I get an "Authentication denied" message. How can I resolve that?

  2. #2
    Join Date
    Feb 2009
    Location
    USA
    Beans
    3,186

    Re: Getting "Authentication denied" when trying to enter password to change to root

    Ubuntu doesn't use root account. You have to use "sudo"

    Code:
    sudo some_command
    then the command will run as root.

  3. #3
    Join Date
    Feb 2009
    Beans
    23
    Distro
    Kubuntu 10.10 Maverick Meerkat

    Re: Getting "Authentication denied" when trying to enter password to change to root

    You cant login as root, but what you can do is sudo every command
    Eg
    Instead of

    Su root
    Blah
    Blah

    You can do

    Sudo blah
    Sudo blah

  4. #4
    Join Date
    Apr 2009
    Location
    Rawalpindi, Pakistan
    Beans
    5,669
    Distro
    Ubuntu Gnome Development Release

    Re: Getting "Authentication denied" when trying to enter password to change to root

    https://help.ubuntu.com/community/RootSudo

    For gaining temporary root access,

    Code:
    sudo -i

  5. #5
    Join Date
    Feb 2009
    Beans
    23
    Distro
    Kubuntu 10.10 Maverick Meerkat

    Re: Getting "Authentication denied" when trying to enter password to change to root

    You cant login as root, but what you can do is sudo every command
    Eg
    Instead of

    Su root
    Blah
    Blah

    You can do

    Sudo blah
    Sudo blah

  6. #6
    Join Date
    Jun 2006
    Location
    Central Ohio
    Beans
    32

    Re: Getting "Authentication denied" when trying to enter password to change to root

    OK, thanks for all the replies.

    Now, I have another problem. I'll start another topic.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •