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. 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 …

  3. What are some of the basic sudo commands? - Ask Ubuntu

    sudo (superuser do) is a great tool for restricting access to the root account (or other accounts). In normal use, it is setup so that people in the wheel group can run commands as root if they …

  4. 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 -' …

  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 …

  6. 'sudo su -' vs 'sudo -i' vs 'sudo /bin/bash' - when does it matter ...

    Nov 13, 2013 · sudo su - This time it is a login shell, so /etc/profile, .profile and .bashrc are executed and you will find yourself in root's home directory with root's environment. sudo -i It is …

  7. What's the difference between 'sudo [command]' and 'sudo sh …

    Apr 11, 2013 · 0 sudo is a command that give you root privilege. But sh is an interpreter. When you use sudo command, you running the command as root privilege. But when you use sudo …

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

  9. How to run sudo command with no password? - Ask Ubuntu

    How does the ubuntu user on the AWS images for Ubuntu Server 12.04 have passwordless sudo for all commands when there is no configuration for it in /etc/sudoers? I'm using Ubuntu server …

  10. How do I run specific sudo commands without a password?

    Jul 3, 2012 · On one particular machine I often need to run sudo commands every now and then. I am fine with entering password on sudo in most of the cases. However there are three sudo …