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

Thread: Root

  1. #1
    Join Date
    Apr 2012
    Beans
    48

    Root

    I am trying to make a separate user account with root privileges. I already know that you can give yourself temporary root privileges on your normal account. I am trying to create another user account with which I can login as root and am not sure how. Thanks

  2. #2
    Join Date
    Jul 2008
    Location
    The Left Coast of the USA
    Beans
    Hidden!
    Distro
    Kubuntu

    Re: Root

    My recommendation: Don't.

    Use sudo. There is no root account by default in Ubuntu for your own good.

  3. #3
    Join Date
    Apr 2012
    Beans
    48

    Re: Root

    I'm reading a pdf called How Linux Works What Every Superuser Should Know. One of the requirements for doing the lessons properly is that I need a regular account and a root account. It's for learning purposes and my hand is being held. I'm not looking to start editing config files. Can someone give me this info please? Thanks

  4. #4
    Join Date
    Apr 2008
    Location
    LOCATION=/dev/random
    Beans
    5,767
    Distro
    Ubuntu Development Release

    Re: Root

    I'm afraid you won't get an answer here, see the following threads for details:
    http://ubuntuforums.org/showthread.php?t=716201
    http://ubuntuforums.org/showthread.php?t=1486138
    Cheesemill

  5. #5
    Join Date
    Oct 2010
    Location
    Finland
    Beans
    252
    Distro
    Ubuntu

    Re: Root

    I agree with QIII...as the official Ubuntu help-pages state:
    "Enabling the Root account is rarely necessary. Almost everything you need to do as administrator of an Ubuntu system can be done via sudo or gksudo. If you really need a persistent Root login, the best alternative is to simulate a Root login shell using the following command..."

    These are the help-pages. Please read through the instructions carefully:
    https://help.ubuntu.com/community/RootSudo

  6. #6
    Join Date
    Jul 2008
    Location
    The Left Coast of the USA
    Beans
    Hidden!
    Distro
    Kubuntu

    Re: Root

    I suspect that you might achieve the objectives of the lessons by having one account in the sudoers file and one not.

    For the times you need to sign in as "root", sign in with the account in the sudoers file and use sudo.

    If that will not work, see the link provided for a link to the wiki on how to do this.
    Last edited by QIII; April 3rd, 2012 at 09:39 PM.

  7. #7
    winh8r is offline Iced Almond Soy Ubuntu, No Foam
    Join Date
    Sep 2007
    Beans
    Hidden!
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Root

    You might find the info you need here:

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


    I would agree with QIII above and say that you should only do this on an experimental installation and not on an installation where you have any valuable data.

    One wrong command or even a typing error in a correct command can render your system unusable.

    Good Luck with the learning.

  8. #8
    Join Date
    Oct 2009
    Beans
    Hidden!
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Root

    Quote Originally Posted by QIII View Post
    I suspect that you might achieve the objectives of the lessons by having one account in the sudoers file and one not.

    For the times you need to sign in as "root", sign in with the account in the sudoers file and use sudo.

    If that will not work, see the link provided for a link to the wiki on how to do this.
    Probably. If they do want to enable the root account, they might want to read the link winh8r posted.

    EDIT: I just glanced thru the table of contents and I'm pretty sure you can do almost everything with sudo.
    Come to #ubuntuforums! We have cookies! | Basic Ubuntu Security Guide

    Tomorrow's an illusion and yesterday's a dream, today is a solution...

  9. #9
    Join Date
    Jul 2005
    Location
    England
    Beans
    Hidden!

    Re: Root

    There are plenty of websites which will give you this information, if you really feel you must do things that way.

    However, I'm inclined to suggest that if you do not already know and understand how it is possible to enable the root account in Ubuntu, you are not ready to use it in that manner. You will also find that it is impossible to get any useful information from this forum on using Ubuntu with the root account enabled, and most of the suggested ways to do things that you get from these forum sections will not work for you that way.

    Why not try another distro that does use a root account in its normal usage? There are many available, such as OpenSuse, Fedora, etc etc. In fact most of the others.
    DISTRO: Xubuntu 14.04-64bit --- Code-tags --- Boot-Repair --- Grub2 wiki & Grub2 Basics --- RootSudo

  10. #10
    Join Date
    Oct 2009
    Beans
    Hidden!
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Root

    +1 to Fedora from me.
    Come to #ubuntuforums! We have cookies! | Basic Ubuntu Security Guide

    Tomorrow's an illusion and yesterday's a dream, today is a solution...

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
  •