Difference between revisions of "Talk:149: Sandwich"

Explain xkcd: It's 'cause you're dumb.
Jump to: navigation, search
(sudo requires user password)
Line 4: Line 4:
  
 
<code>sudo</code> requires '''user''' password, not admin password, but you need to be in <code>sudoers</code> file. --[[User:JakubNarebski|JakubNarebski]] ([[User talk:JakubNarebski|talk]]) 12:14, 15 December 2012 (UTC)
 
<code>sudo</code> requires '''user''' password, not admin password, but you need to be in <code>sudoers</code> file. --[[User:JakubNarebski|JakubNarebski]] ([[User talk:JakubNarebski|talk]]) 12:14, 15 December 2012 (UTC)
 +
 +
:How many people will know the difference? In the Ubuntu family, root doesn't ''have'' a password, so the only way to act as root is to use <code>sudo</code> or <code>su</code> (with the OS installer always making the initial user a sudoer). [[User:Promethean|Promethean]] ([[User talk:Promethean|talk]]) 06:08, 30 August 2013 (UTC)

Revision as of 06:08, 30 August 2013

Note that it is more effective to write "sudo !!" to redo the last command but with sudo added to it. -- Agge.se (talk) (please sign your comments with ~~~~)

Using sudo !! outputs the previous command with sudo into your bash (other shells as well) history, so to bash what you said was "sudo make me a sandwich" not "sudo !!". lcarsos (talk) 16:46, 29 October 2012 (UTC)

sudo requires user password, not admin password, but you need to be in sudoers file. --JakubNarebski (talk) 12:14, 15 December 2012 (UTC)

How many people will know the difference? In the Ubuntu family, root doesn't have a password, so the only way to act as root is to use sudo or su (with the OS installer always making the initial user a sudoer). Promethean (talk) 06:08, 30 August 2013 (UTC)