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

    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 privileges. sudo -i …

  2. su vs sudo -s vs sudo -i vs sudo bash - Unix & Linux Stack Exchange

    What is the difference between the following commands: su sudo -s sudo -i sudo bash I know for su I need to know the root password, and for sudo I have to be in the sudoers file, but once executed...

  3. 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 command exit.

  4. What does "sudo apt-get update" do? - Ask Ubuntu

    Nov 27, 2012 · sudo apt-get update sudo apt-get install <package> ensuring that apt-get knows to install the most recent version of the package. Another useful source for information is the help.ubuntu.com …

  5. 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 (or any other …

  6. 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?

  7. How can I determine the sudo password? - Ask Ubuntu

    What is the default password of the sudo? I visit some forums, it tells that the default password is password, but it doesn't work, how can I determine the password?

  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 dependent on …

  9. How to avoid being prompted for a password by sudo?

    May 22, 2014 · The echo 'password' | sudo -kS ls solution works, but it has a few security drawbacks, most of which have already been mentioned in the comments to terdon's answer.

  10. command line - How to solve "permission denied" when using sudo …

    When using sudo to allow edits to files, I regularly get 'permission denied'. For example, my mouse is jittery and sluggish, so I want to disable polling: sudo echo "options drm_kms_helper poll=N...