About 94 results
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. 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 -' inside of a root …

  3. What is the difference between 'su -' , 'sudo bash' and 'sudo sh'?

    sudo bash & sudo sh: Anything after the sudo is a program to run - so in these cases you are asking to run a couple of shells - bash and dash respectively. use man bash and man sh for more details on …

  4. 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 starting a shell …

  5. sudo - Sudoers file, enable NOPASSWD for user, all commands - Ask …

    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 /etc/sudoers add …

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

    I want to login as root, but when I enter sudo -s and enter password, this message is shown: "you are not in sudoers file", and when I enter su and enter password, this is shown: "authentication

  7. How do I reset a lost administrative password? - Ask Ubuntu

    I'm the only account on this box, and my password works with sudo so I apparently have Administrative Privileges. This was less exciting than editing /etc/shadow but I was glad to trade the excitement for …

  8. linux - How to check if I have sudo access? - Super User

    Man page excerpt: If given the -v (validate) option, sudo will update the user’s time stamp, prompting for the user’s password if necessary. This extends the sudo timeout for another 5 minutes (or whatever …

  9. shell - Why is sudo bash needed? - Super User

    sudo <shell>, if it works, betrays a poor installation of sudo and a potential security weakness. sudo should not be configured to allow arbitrary commands like shell; the purpose of sudo is to allow …

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