Open links in new tab
  1. What are the differences between "su", "sudo -s", "sudo -i", "sudo …

    Oct 22, 2011 · 81 sudo lets you run commands in your own user account with root privileges. su lets you switch user so that you're actually logged in as root. sudo -s runs a shell with root …

  2. unix - Command: sudo su - - Super User

    Observed on Debian Wheezy with htop: 'sudo su -' has a child of 'su -', and 'su -' has a child of '-su'. As mentioned above, root user can do 'su -' without entering password, so doing 'su -' …

  3. linux - What does "sudo -s" actually do? - Super User

    Jul 6, 2011 · The two aren't really inconsistent - the sudo command always changes user, either to root, or to the user you specify with the -u switch. All the -s does is provide a shortcut for …

  4. What's exactly the point of the sudo command, in terms of security?

    Now, enter sudo. sudo works on a different principle. Instead of requiring users to know the root account login, sudo would be used to allow users to escalate themselves into the root account …

  5. sudo - How do I login as root? - Ask Ubuntu

    In that case, use: sudo su - to execute a login shell as root after auhenticating sudo, and that shell will not need sudo to run admin commands. To return to the normal user shell, insert the …

  6. linux - How to reload sudo users without reboot (Failed to restart …

    Nov 11, 2024 · Using the command sudo delayed example-command this way the command example-command will be executed even if you're not in sudo group, but it'll be exectuted with …

  7. history of ubuntu - Why is it called sudo? - Ask Ubuntu

    May 26, 2014 · Why do we use sudo to perform a terminal command as an administrative? Why isn't it admin or something else? Is there a reason for sudo?

  8. What is the correct way to completely remove an application?

    Sep 15, 2012 · sudo apt-get remove gedit* would remove gedit, gedit-plugins and gedit-common. Typically it is not necessary to do this, because most plugins/associated programs are …

  9. sudo - Sudoers file, enable NOPASSWD for user, all commands

    Aug 19, 2013 · It seems is a good practice to create the wheel group for non-password sudo authentication instead of altering sudo group itself. sudo groupadd wheel then in file …

  10. Error message "sudo: unable to resolve host (none)"

    Dec 16, 2018 · Note: sudo attempts to dereference the hostname, even though it isn't necessarily required, due to optional capabilities in the sudoers file. See sudo command trying to search …