Results 1 to 5 of 5

Thread: How to get the root/admin terminal?

  1. #1
    Join Date
    Dec 2012
    Beans
    3

    How to get the root/admin terminal?

    I saw someone having an admin terminal where you are root from when you start it. I also have it on raspbian on my raspberry pi.

    I wonder how to get it on ubuntu.

    Using 12.04 and GNOME Classic.



    __________________________________________________ ___________
    Happy New Year to all of you

  2. #2
    Join Date
    Nov 2007
    Location
    NC, USA
    Beans
    829
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: How to get the root/admin terminal?

    Is there really a need to directly access the root terminal at boot? That is a huge security risk.

    If you need access to root, just sudo -s.
    Linux User #460341 || Ubuntu User #19510 || Unanswered Posts Team

  3. #3
    Join Date
    Jan 2010
    Beans
    261
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: How to get the root/admin terminal?

    Yeah, root terminal is not the best thing in the world to do... all that essentially does is make it so you don't need to ask for permission with 'su' in any way after you open it to give it root permission. In other words, take the 'sudo' or 'gksu' etc. out of every command you'd type anyway.

    You can just type sudo -s or su to get into superuser in a normal terminal... but you can also I suppose just download a root terminal from the software center. Then, every time you open it, you'll type your password. Same as if you open a normal terminal and type 'su' or 'sudo -s'...
    When your entire life is measured in one moment, you change the concept of time.

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

    Re: How to get the root/admin terminal?

    The preferred way to start a root shell is sudo -i. Please check out the community documentation:
    community/RootSudo

    @OP: You can use gksu to run GUI applications as root. So you can create a new launcher with the following command:
    Code:
    gksu gnome-terminal
    Of course, if you use gksu the whole application will run with elevated privileges, which may be considered a security risk.

    It's probably a little bit safer to run sudo -i in the terminal window. You can create a custom launcher which will automate this for you:
    Code:
    gnome-terminal -x sudo -i

  5. #5
    Join Date
    Dec 2012
    Beans
    3

    Re: How to get the root/admin terminal?

    Thanks for all your replies.

Tags for this Thread

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
  •