Announcement

Collapse
No announcement yet.

sudo v. su?

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    sudo v. su?

    Can anyone tell me the difference between sudo and su? I can run sudo commands, but if i type su and enter my password, it gives an authentication error.

    Very new to Linuxland, pls b gentle.

    #2
    Re: sudo v. su?

    > sudo vs. su
    ...
    Unlike su, sudo changes your permissions for only a single command. Once that command completes your permissions revert back to the ones you had when you logged in.
    ...
    > su (Unix) wiki

    > sudo wiki

    > FAQ: Root Password


    I can run sudo commands, but if i type su and enter my password, it gives an authentication error.
    I ,think, that su is expecting root password. As default kubuntu don't have it set => error.

    You can (Using sudo to become root ):
    Code:
    user@Machine:~$ sudo su -
    [sudo] password for user:
    root@Machine:~#
    Before you edit, BACKUP !

    Why there are dead links ?
    1. Thread: Please explain how to access old kubuntu forum posts
    2. Thread: Lost Information

    Comment

    Working...
    X