Timeline for Why doesn't the sudo command need the root password?
Current License: CC BY-SA 3.0
16 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Aug 20, 2014 at 9:38 | comment | added | Siyuan Ren |
Basically sudo has root privilege by itself, and it decides whether to impart that to you based on a configuration file.
|
|
Aug 19, 2014 at 20:59 | comment | added | jmiserez |
You can in fact login as the root user: sudo su - root will do just that and give you a root terminal. However you cannot easily login to a desktop session as root.
|
|
Aug 19, 2014 at 19:46 | comment | added | Martin Schröder |
Note that sudo can be configured to ask for the root password with the rootpw flag in sudoers .
|
|
Aug 18, 2014 at 21:51 | history | edited | Piotr Jurkiewicz | CC BY-SA 3.0 |
added 42 characters in body
|
Aug 18, 2014 at 21:23 | history | edited | Piotr Jurkiewicz | CC BY-SA 3.0 |
reordering and expanding
|
Aug 18, 2014 at 19:37 | comment | added | jwir3 |
Interesting. I didn't know that you could specify that sudo could be run without inputting my password. Great answer!
|
|
Aug 18, 2014 at 18:35 | comment | added | daniel kullmann | The answer should really start with the setuid part, because that's the reason that it is actually possible. /etc/sudoers is just the reason for the flexibility of the sudo command. | |
Aug 18, 2014 at 10:40 | review | Suggested edits | |||
Aug 18, 2014 at 11:22 | |||||
S Aug 18, 2014 at 3:12 | history | edited | Piotr Jurkiewicz | CC BY-SA 3.0 |
italics (though _far_ better than bold) should be reserved for emphasis; use code escapes for files and commands
|
S Aug 18, 2014 at 3:12 | history | suggested | HalosGhost | CC BY-SA 3.0 |
italics (though _far_ better than bold) should be reserved for emphasis; use code escapes for files and commands
|
Aug 18, 2014 at 3:08 | review | Suggested edits | |||
S Aug 18, 2014 at 3:12 | |||||
Aug 18, 2014 at 3:03 | history | edited | Piotr Jurkiewicz | CC BY-SA 3.0 |
added 923 characters in body
|
Aug 18, 2014 at 2:12 | history | edited | Piotr Jurkiewicz | CC BY-SA 3.0 |
expanding answer; added 41 characters in body
|
Aug 18, 2014 at 2:03 | history | edited | Nidal | CC BY-SA 3.0 |
change heading to bold
|
Aug 18, 2014 at 1:59 | review | First posts | |||
Aug 18, 2014 at 2:03 | |||||
Aug 18, 2014 at 1:58 | history | answered | Piotr Jurkiewicz | CC BY-SA 3.0 |