Page 1 of 3 123 LastLast
Results 1 to 10 of 27

Thread: Differences between Terminal Konsole and Terminal - Super User Mode

  1. #1

    Default Differences between Terminal Konsole and Terminal - Super User Mode

    I would like to know the differences between Terminal Konsole and Terminal - Super User Mode (the one with the red terminal icon).
    Why would I need Terminal - Super User Mode when I can become super user from Terminal Konsole with the su command?

    Thanks in advance/
    larilund

  2. #2

    Default Re: Differences between Terminal Konsole and Terminal - Super User Mode

    i just su/sudo.

  3. #3
    Join Date
    Jul 2008
    Location
    Seattle, WA
    Posts
    17,037

    Default Re: Differences between Terminal Konsole and Terminal - Super UserMode

    On Sun, 29 Jul 2012 18:06:02 +0000, larilund wrote:

    > Why would I need Terminal - Super User Mode when I can become super user
    > from Terminal Konsole with the su command?


    Convenience.

    Jim



    --
    Jim Henderson
    openSUSE Forums Administrator
    Forum Use Terms & Conditions at http://tinyurl.com/openSUSE-T-C

  4. #4
    dd@home.dk NNTP User

    Default Re: Differences between Terminal Konsole and Terminal - Super UserMode

    On 07/29/2012 08:06 PM, larilund wrote:
    >
    > I would like to know the differences between Terminal Konsole and
    > Terminal - Super User Mode


    no difference _.=*EXCEPT*=._

    1. Terminal - Super User Mode moves you (a normal user) to root's
    environment, as well as giving you root powers....while

    2. in Konsole the command "su" gives you root powers BUT you do not take
    on root's environment

    try it! open Konsole and issue "su" and you end with a red prompt (root
    power) in your own home (/home/[yourID]/)....BUT, click the Terminal -
    Super User Mode icon, give the root password and it opens in root's home
    (/root/)

    magic!

    so, to become root and take on root's environment in konsole (or any
    user terminsl) issue not "su" but "su -"

    and, CAREFUL because sudo is only a half step also...leaving you with a
    users environment AND some subset of roots full powers (depending on how
    you set up sudoers)

    it is for these reasons that that this how-to "Become su in Terminal -
    HowTo" is written as it is: http://tinyurl.com/ydbwssh

    btw, things can (and do) go wrong if you need to be root, and only use
    su (and not "su -") to _try_ to get to actually being root..

    --
    dd http://tinyurl.com/DD-Caveat

  5. #5
    Join Date
    Mar 2010
    Location
    Austin - Texas
    Posts
    10,140
    Blog Entries
    48

    Default Re: Differences between Terminal Konsole and Terminal - Super User Mode

    Quote Originally Posted by larilund View Post
    I would like to know the differences between Terminal Konsole and Terminal - Super User Mode (the one with the red terminal icon).
    Why would I need Terminal - Super User Mode when I can become super user from Terminal Konsole with the su command?

    Thanks in advance/
    larilund
    Your best bet is to use a normal Terminal session and use sudo if you need to. Since sudo does not change your environment (or path), some commands like fdisk, will not be found in your default path and require the folder and program name to work such as:

    sudo /sbin/fdisk -l, works OK

    but

    sudo fdisk -l, does not work because fdisk is not in your path.

    You can use su - to become root in terminal, but it has all the problems of starting a terminal session as root, so be careful when using that.

    Thank You,
    My Blog: https://forums.opensuse.org/blogs/jdmcdaniel3/

    Software efficiency halves every 18 months, thus compensating for Moore's Law

    Its James again from Austin, Texas

  6. #6
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    24,721

    Default Re: Differences between Terminal Konsole and Terminal - Super User Mode

    Quote Originally Posted by larilund View Post
    I would like to know the differences between Terminal Konsole and Terminal - Super User Mode (the one with the red terminal icon).
    Why would I need Terminal - Super User Mode when I can become super user from Terminal Konsole with the su command?

    Thanks in advance/
    larilund
    It is the equivalent of doing
    Code:
    su -
    And yes, it is convenient because:
    a) it lets you not err in forgeting the - of su -, which is important from several security/convenience points of view (and I see you made the same error in your post);
    b) it lets you have this in a different colour scheme to draw your attention to the fact hat this is root and thus a dangerous place to be;
    c) more?
    Henk van Velden

  7. #7

    Default Re: Differences between Terminal Konsole and Terminal - Super User Mode

    Quote Originally Posted by mr0z View Post
    i just su/sudo.
    You should su - or su -l ... or add some directories, such as /sbin and /usr/sbin to your PATH.
    See @jdmcdaniel3's post above!

  8. #8

    Default Re: Differences between Terminal Konsole and Terminal - Super User Mode

    Quote Originally Posted by please_try_again View Post
    You should su - or su -l ... or add some directories, such as /sbin and /usr/sbin to your PATH.
    See @jdmcdaniel3's post above!
    this is an interesting point... i don't recall ever having to qualify a full path for /sbin /usr/sbin while in su/sudo. is this a recent linux development, a suse thing, or is my memory just gone on this point? I come from more of a FreeBSD background.

  9. #9

    Default Re: Differences between Terminal Konsole and Terminal - Super User Mode

    Quote Originally Posted by mr0z View Post
    this is an interesting point... i don't recall ever having to qualify a full path for /sbin /usr/sbin while in su/sudo. is this a recent linux development, a suse thing, or is my memory just gone on this point?
    I don't need to use full path either, but I have /sbin and /usr/sbin in my PATH as user. Most people don't, as it is not the default under (any) Linux. That's also the reason why I sometimes post advice here which don't work for other people, because I always forget that.

    Quote Originally Posted by mr0z View Post
    I come from more of a FreeBSD background.
    Me too btw. But I set my PATH under BSD as well. So I'm not sure what's the default.

  10. #10
    Join Date
    Mar 2009
    Location
    United States
    Posts
    612

    Default Re: Differences between Terminal Konsole and Terminal - Super User Mode

    accidental double post

Page 1 of 3 123 LastLast

Posting Permissions

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