Page 1 of 4 123 ... LastLast
Results 1 to 10 of 40

Thread: Root

  1. #1
    Join Date
    Aug 2011
    Beans
    48
    Distro
    Ubuntu 11.04 Natty Narwhal

    Root

    I need to login to root for 5 minutes to fix the issues I'm having with my printer, but even though I followed the ubuntu directions and set a password, when I try to switch into root it's telling me I've got the wrong password.

    I need access to the /usr /lib etc. files to copy over a working edition of the drivers, the ones you can download from the software centre are not working for me.


  2. #2
    Join Date
    Feb 2009
    Location
    Dallas, TX
    Beans
    7,758
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: Root

    Logged as a regular user do this:
    Code:
    $ sudo su
    and you'll stay working as root.

    Be very careful!
    Regards.
    But first read haqking's links
    Last edited by papibe; September 13th, 2011 at 01:41 AM. Reason: ... safe than sorry.

  3. #3
    Join Date
    Jun 2011
    Location
    The Shadow Gallery
    Beans
    6,782

    Re: Root

    Quote Originally Posted by (Nes) View Post
    I need to login to root for 5 minutes to fix the issues I'm having with my printer, but even though I followed the ubuntu directions and set a password, when I try to switch into root it's telling me I've got the wrong password.

    I need access to the /usr /lib etc. files to copy over a working edition of the drivers, the ones you can download from the software centre are not working for me.


    Root account is locked by default.

    It is not needed and Sudo is supported here.

    See here about why sudo is supported in the canonical model and the root account is locked by default, it is possible to enable root and possible to have a blank password but neither are recommended.

    Please see here rootsudo as sudo is preferred for all admin tasks (the password you use for sudo is your own password that you login with)

    and in addition

    sudoers file
    https://help.ubuntu.com/community/Sudoers


    See below for Bodhi.Zazen's overview of Linux Security

    http://ubuntuforums.org/showthread.php?t=510812

    security stickies (5 stickies)
    http://ubuntuforums.org/forumdisplay.php?f=338
    Feel Free to Bitcoin Tip: 135Rp4pwwYTHEJ4u8bxKaDQiC91N9LUoV2

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

  4. #4
    Join Date
    Aug 2011
    Beans
    48
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: Root

    Where is "Administration" on my ubuntu version?
    It's not in system settings (that I can see) did they give in a new name?

  5. #5
    Join Date
    Feb 2007
    Location
    Romania
    Beans
    Hidden!

    Re: Root

    Quote Originally Posted by papibe View Post
    Logged as a regular user do this:
    Code:
    $ sudo su
    and you'll stay working as root.

    Be very careful!

    Regards.
    Code:
    sudo -i
    is the preferred method for starting a root shell in Ubuntu.

    If the root account is enabled, then su -

    Using sudo su is pointless and it behavior is not documented in a single man page.

    @OP
    Please read the links provided by haqking.

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

    Re: Root

    Quote Originally Posted by (Nes) View Post
    Where is "Administration" on my ubuntu version?
    It's not in system settings (that I can see) did they give in a new name?
    i presume natty narhwal 11.04 ?

    Click the applications icon in the panel, then click All Applications in the upper right and select System.
    Feel Free to Bitcoin Tip: 135Rp4pwwYTHEJ4u8bxKaDQiC91N9LUoV2

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

  7. #7
    Join Date
    Aug 2011
    Beans
    48
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: Root

    sudo -i

    is what I was doing (I've already read the first link, that I what I started from) I remain unable to log into root.

  8. #8
    Join Date
    Aug 2011
    Beans
    48
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: Root

    And thanks for putting up with my noob-ness guys
    You rock

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

    Re: Root

    Quote Originally Posted by (Nes) View Post
    sudo -i

    is what I was doing (I've already read the first link, that I what I started from) I remain unable to log into root.
    Quote Originally Posted by (Nes) View Post
    And thanks for putting up with my noob-ness guys
    You rock
    you dont log into root.

    from terminal you type sudo <command> and it will ask for your password which is your user password, this will give your root privelge for the command in the <command> section.

    and no problems, its a community working together to support evryone who needs it, even those that give support need it too
    Feel Free to Bitcoin Tip: 135Rp4pwwYTHEJ4u8bxKaDQiC91N9LUoV2

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

  10. #10
    Join Date
    Aug 2011
    Beans
    48
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: Root

    I don't have "System" I have "system settings"

Page 1 of 4 123 ... 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
  •