
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 …
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 …
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?
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 …
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 …
How do I reset a lost administrative password? - Ask Ubuntu
$ sudo -i [sudo] password for myuseraccount: # here you type the user's password # A lot of people that have Unix background or experience with other distributions stumble on this issue …
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 -' …
'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 …
Is there any 'sudo' command for Windows? - Super User
Sep 17, 2009 · If on the other hand Bob does "sudo acommand" the command is still run as Bob, but with elevated permissions - just like the Linux sudo command. To prevent any user from …
Why I must use 'visudo' to edit the '/etc/sudoers' file?
Checkout the source at visudo.c. visudo copies the sudoers file to a temporary location, parses it after edit with a Bison parser according to (complex!) spec and only if successful overwrites …