Difference between revisions of "Talk:149: Sandwich"

Explain xkcd: It's 'cause you're dumb.
Jump to: navigation, search
m
Line 5: Line 5:
 
<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)
+
:How many people will know the difference? In a typical Ubuntu-family install with only one human user, root doesn't ''have'' a password, but the one user who does is a sudoer (and has to use <code>sudo</code> or <code>su</code> to act as root, rather than doing so starting at login). [[User:Promethean|Promethean]] ([[User talk:Promethean|talk]]) 06:08, 30 August 2013 (UTC)

Revision as of 06:09, 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 a typical Ubuntu-family install with only one human user, root doesn't have a password, but the one user who does is a sudoer (and has to use sudo or su to act as root, rather than doing so starting at login). Promethean (talk) 06:08, 30 August 2013 (UTC)