Timeline for Why doesn't the sudo command need the root password?
Current License: CC BY-SA 3.0
20 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Aug 24, 2014 at 10:46 | history | tweeted | twitter.com/#!/StackUnix/status/503493423962546177 | ||
| Aug 23, 2014 at 0:47 | comment | added | strugee | @HagenvonEitzen I know I'm a couple days late, but how is this not a dupe of our question? | |
| Aug 20, 2014 at 23:58 | answer | added | Barmar | timeline score: 9 | |
| Aug 19, 2014 at 22:22 | comment | added | G-Man Says 'Reinstate Monica' | … Oh yes, and also, as jlliagre said, it asks for your password to inconvenience crackers who might get access to your account. | |
| Aug 19, 2014 at 22:21 | comment | added | G-Man Says 'Reinstate Monica' | I’m sorry if I’m repeating something somebody else said, but I couldn’t find it. The answer is: It’s a policy decision. My best guess at the motivation is that, in a large installation where you have many people with sudo privilege, maybe working at geographically distributed locations and on 24×7 shifts, you want to be able to revoke one person’s privileged access immediately (e.g., if you suspect his integrity). If everybody is using the one-and-only root password, and you change that without prior coordination, chaos may result. … | |
| Aug 19, 2014 at 13:08 | comment | added | Hagen von Eitzen | "Am I root?" There really is a difference: Type whoami, then sudo su, then whoamiagain (and finally exit) | |
| Aug 18, 2014 at 20:54 | comment | added | Eliah Kagan | Related (not a duplicate): How do the internals of sudo work? and (on Ask Ubuntu) How to NOT become a root user? Are administrators root? | |
| Aug 18, 2014 at 18:16 | answer | added | Jonathan Cast | timeline score: 1 | |
| S Aug 18, 2014 at 18:11 | history | edited | jasonwryan | CC BY-SA 3.0 | corrected grammar |
| S Aug 18, 2014 at 18:11 | history | suggested | Tulains Córdova | CC BY-SA 3.0 | corrected grammar in title |
| Aug 18, 2014 at 18:03 | review | Suggested edits | |||
| S Aug 18, 2014 at 18:11 | |||||
| Aug 18, 2014 at 14:38 | comment | added | LawrenceC | sudo has the "setuid" bit set. So it runs as the user who owns it (which is root on all standard systems if I'm not mistaken), not the user who launches it. sudo then loads the /etc/sudoers file and checks what is allowed based upon who launched it. | |
| Aug 18, 2014 at 8:07 | history | edited | Shadur-don't-feed-the-AI | CC BY-SA 3.0 | Edited title to make slightly more sense. |
| Aug 18, 2014 at 2:14 | review | Close votes | |||
| Aug 18, 2014 at 8:07 | |||||
| Aug 18, 2014 at 2:09 | answer | added | somethingSomething | timeline score: 3 | |
| Aug 18, 2014 at 2:01 | answer | added | jlliagre | timeline score: 16 | |
| Aug 18, 2014 at 1:58 | answer | added | Piotr Jurkiewicz | timeline score: 68 | |
| Aug 18, 2014 at 1:58 | comment | added | Braiam | Using which user you need the password and in which you don't? What command you are running? Remember, that sudo stores your password for a time before you have to retype it. | |
| Aug 18, 2014 at 1:56 | history | edited | Braiam | edited tags | |
| Aug 18, 2014 at 1:46 | history | asked | EGHDK | CC BY-SA 3.0 |