Page 1 of 2 12 LastLast
Results 1 to 10 of 17

Thread: root access

  1. #1
    Join Date
    Mar 2013
    Beans
    2

    root access

    I have just installed Ubuntu 12.10 and I need to edit a root protected file and when I su and enter the password that I setup at the installation I get an authentication failure Why? what am I doing wrong

  2. #2
    Join Date
    Apr 2012
    Beans
    7,256

    Re: root access

    You should be using 'sudo'

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

  3. #3
    Join Date
    Apr 2011
    Location
    Mystletainn Kick!
    Beans
    13,616
    Distro
    Ubuntu

    Re: root access

    Just run
    Code:
    gksudo gedit path-to-file
    or if terminal savvy
    Code:
    sudo nano same-path-to-file
    Splat Double Splat Triple Splat
    Earn Your Keep
    Don't mind me, I'm only passing through.
    Once in a blue moon, I'm actually helpful
    .

  4. #4
    Join Date
    Jan 2013
    Beans
    525

    Re: root access

    Canonical reserves "su" and only they have the password. So you have to use sudo.

  5. #5
    Join Date
    Jan 2008
    Location
    Manchester UK
    Beans
    13,573
    Distro
    Ubuntu

    Re: root access

    Quote Originally Posted by ManamiVixen View Post
    Canonical reserves "su" and only they have the password. So you have to use sudo.
    That is misleading.

    Ubuntu ships with the root account disabled because it is unecessary if sudo is available.

  6. #6
    Join Date
    Apr 2011
    Location
    Mystletainn Kick!
    Beans
    13,616
    Distro
    Ubuntu

    Re: root access

    Quote Originally Posted by ManamiVixen View Post
    Canonical reserves "su" and only they have the password. So you have to use sudo.
    Nobody is stopping you from setting a root password.

    It's just that sudo does the job just as well.
    So the need is moot.
    Last edited by deadflowr; March 22nd, 2013 at 08:31 PM. Reason: mute vs moot
    Splat Double Splat Triple Splat
    Earn Your Keep
    Don't mind me, I'm only passing through.
    Once in a blue moon, I'm actually helpful
    .

  7. #7
    Join Date
    Jan 2013
    Beans
    525

    Re: root access

    Huh, I didn't know root was disabled. I read Canonical reserved root with a custom long complex password so as to deture hacking the OS and to keep the user safer. Thanks for correcting me!

  8. #8
    Join Date
    Jul 2007
    Location
    Magic City of the Plains
    Beans
    Hidden!
    Distro
    Xubuntu Development Release

    Re: root access

    Quote Originally Posted by ManamiVixen View Post
    Canonical reserves "su" and only they have the password. So you have to use sudo.
    I can't imagine the hue and cry that would result if people thought Canonical was somehow keeping passwords; needless to say they do not.

  9. #9
    Join Date
    Jun 2011
    Location
    The Shadow Gallery
    Beans
    6,744

    Re: root access

    Quote Originally Posted by ManamiVixen View Post
    Canonical reserves "su" and only they have the password. So you have to use sudo.
    That is the funniest thing I have read for weeks, and there is always something in this forum that makes me laugh.

    Thanks

    Backtrack - Giving machine guns to monkeys since 2006
    Kali-Linux - Adding a grenade launcher to the machine guns since 2013

  10. #10
    Join Date
    Jan 2013
    Beans
    525

    Re: root access

    Ok, I pull by my thanks and call you jerks now. I told you it was what I read somewhere and didn't know it was wrong yet you rub it in and laugh even though the reason I why I believed it was a good, valid one.

Page 1 of 2 12 LastLast

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
  •