Page 1 of 7 123 ... LastLast
Results 1 to 10 of 62

Thread: Become su in Terminal - HowTo

  1. #1
    Join Date
    Jun 2008
    Location
    The English Lake District. UK - GMT/BST
    Posts
    36,719
    Blog Entries
    20

    Default Become su in Terminal - HowTo

    You may be asked to open a terminal and give the result of a command. Sometimes you will need to be su - This is just to show you how. Open a terminal, type su - (Notice the - ) and hit enter. It will request your root password, enter it (by default nothing displays as you type - but just type) hit enter and you should see the end of the prompt turn to # and probably the colour of the line will change.


    Or in Dolphin you can have a Terminal Panel, it can be quicker than having to cd through directories.


    No complaints please about this being too simple. It's for Noobs

    [EDIT] I have changed previously quoted su to su -
    which after consulting the members, is the more accurate way. The right/correct way. Thanks. This is the benefit of the forum friends. I stand corrected.
    Last edited by caf4926; 07-Dec-2009 at 21:54. Reason: Change su to su -
    Leap 15_KDE
    My Articles Was I any help? If yes: Click the star below

  2. #2
    Join Date
    Jul 2009
    Location
    Rockyford Alberta Canada
    Posts
    1,290

    Default Re: Become su in Terminal - HowTo

    not too simple for noob's, but may I add ...

    When as a noob's you are asked to post the results of su <command> output to us here in a forum, it can be helpful to describe an easy way to copy/paste the output to the forums. I use an arkayic method cause for some reason my copy paste doesn't seem to work in a terminal.
    # sudo <command> >>$HOME/cmd.txt
    then open open cmd.txt in editor and copy paste from there.
    When your up to your a** in Alligators it's pretty hard to remember you intended to drain the swamp (author unknown)

  3. #3
    Join Date
    Jun 2008
    Location
    The English Lake District. UK - GMT/BST
    Posts
    36,719
    Blog Entries
    20

    Default Re: Become su in Terminal - HowTo

    Copy and paste with the mouse not keyboard shortcuts.
    Leap 15_KDE
    My Articles Was I any help? If yes: Click the star below

  4. #4

    Default Re: Become su in Terminal - HowTo

    If you create a launcher in the panel with the command kdesu konsole, then every time you need it just click and type your password. Simple and faster.
    People who do not break things first will never learn to create anything

  5. #5
    Join Date
    Jun 2008
    Location
    The English Lake District. UK - GMT/BST
    Posts
    36,719
    Blog Entries
    20

    Default Re: Become su in Terminal - HowTo

    Quote Originally Posted by conram View Post
    If you create a launcher in the panel with the command kdesu konsole, then every time you need it just click and type your password. Simple and faster.
    True.
    Only thing is, you'll need to explain just how to do that first (not to me BTW).
    Leap 15_KDE
    My Articles Was I any help? If yes: Click the star below

  6. #6

    Default Re: Become su in Terminal - HowTo

    Quote Originally Posted by caf4926 View Post
    True.
    Only thing is, you'll need to explain just how to do that first (not to me BTW).
    That will be a new howto
    Or maybe add it in yast2
    People who do not break things first will never learn to create anything

  7. #7
    palladium NNTP User

    Default Re: Become su in Terminal - HowTo

    caf4926 wrote:
    > You may be asked to open a terminal


    some n00bs need to be told what "open a terminal" means and/or how to
    do that..


    > type su and hit enter


    i suggest it should read

    type su - (don't forget the dash) and press enter
    or
    type "su -" (without the quotes) and hit enter


    > No complaints please about this being too simple. It's for Noobs


    you did good, except for misspelling color ;-)

    --
    palladium
    Have a lot of fun..

  8. #8

    Default Re: Become su in Terminal - HowTo

    Quote Originally Posted by caf4926 View Post
    Copy and paste with the mouse not keyboard shortcuts.
    You can also copy / paste in Konsole (KDE's terminal) using shift ctrl c to copy and shift ctrl p to paste. It may work in other terminals too.
    IBM Thinkpad X60s | Intel L2400 | Intel 945GM | 3GB | openSUSE Tumbleweed
    Dell XPS 13 9360 | openSUSE Leap 42.3

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

    Default Re: Become su in Terminal - HowTo

    On Sun, 01 Nov 2009 09:08:20 +0000, palladium wrote:

    >> type su and hit enter

    >
    > i suggest it should read
    >
    > type su - (don't forget the dash) and press enter or type "su -"
    > (without the quotes) and hit enter


    Actually, either should work just fine. The difference between the two
    is that adding "-" initiates a login shell, but I've never run into a
    situation where the '-' was absolutely required. That might be because
    my paths for root and non-root tend to be the same, and I don't care if
    the system puts me in root's home directory or not.

    Jim
    --
    Jim Henderson
    openSUSE Forums Moderator

  10. #10
    Join Date
    Jul 2009
    Location
    Rockyford Alberta Canada
    Posts
    1,290

    Default Re: Become su in Terminal - HowTo

    Quote Originally Posted by suse_tpx60s View Post
    You can also copy / paste in Konsole (KDE's terminal) using shift ctrl c to copy and shift ctrl p to paste. It may work in other terminals too.
    Too funny! I've been copy pasting by piping to text file then copy pasting from there and now I see 'shift' + ctrl. Mouse method works with actual mouse but my touchpad won't do copy paste even in text editor.
    When your up to your a** in Alligators it's pretty hard to remember you intended to drain the swamp (author unknown)

Page 1 of 7 123 ... LastLast

Tags for this Thread

Posting Permissions

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