Hacker GitHub

← All repos

sudo-project/sudo

View on GitHub ↗ ★ 1,738 C

Utility to execute a command as another user

40 mentions on Hacker News by 36 people: 5 stories, 35 comments · first 2020-02-02 · latest 2026-02-02

Mentions per year 40 mentions · busiest year 2023 (16)
20082026
  1. …2010 to February 2024, it was sponsored by Quest Software according to the history page[2]. [1] https://github.com/sudo-project/sudo/blob/main/LICENSE.md [2] https://www.sudo.ws/about/history/
  2. I thought this is about the other warning, which has since been removed: https://github.com/sudo-project/sudo/commit/6aa320c96a376136...
  3. Looking at the example of sudo it seems there are still plenty of regular and recent commits. https://github.com/sudo-project/sudo/commits/main/
  4. …and some useful ones (e.g. HOME) are initialized by sudo, but I can't tell where that's done. [1]: https://github.com/sudo-project/sudo/blob/ef52db46f9b375d7ff...
  5. …many (not all) distros. I remember having to install it from repos in the past on a new system: https://github.com/sudo-project/sudo
  6. …C 1478 165173 37638 584876 C/C++ Header 1083 15580 22432 59692 diath@11km :: /tmp » git clone https://github.com/sudo-project/sudo diath@11km :: /tmp » cloc --match-f="(c|h)" sudo/{src,include} C 41 2104 3359 16384 C/C++ Header 36 797 2159…
  7. Just a side note: sudo is largely maintained by just one dude https://github.com/sudo-project/sudo/graphs/contributors
  8. Side note that I've always found interesting: sudo is almost entirely maintained by one dude: https://github.com/sudo-project/sudo/graphs/contributors
    comment by jimt1234 · 2024-02-09 · in Sudo for Windows
  9. The n=2 case also occurs in the commit: https://github.com/sudo-project/sudo/commit/7873f8334c8d3103... And indeed, the two values ate bitwise complements.
  10. Huh, it took 6 years for the joke to get added: https://github.com/sudo-project/sudo/commit/c1d6e86d67aa60d7...
  11. One feature they didn't mention they left out was the ability to run `make me a sandwich` ( https://github.com/sudo-project/sudo/blob/main/Makefile.in#L... )
  12. …────────────────────────────────────────────────────────────┘ As a comparison, this is the output for https://github.com/sudo-project/sudo : 0.0439 secs ┌──────────────────────────────────────────────────────────────────────────────────────…
  13. This change was partly reverted in https://github.com/sudo-project/sudo/commit/9757d29a24ac1872... TL;DR: Only display the warning if sudo is configured to send emails.
  14. Actually it's been brought back. https://github.com/sudo-project/sudo/commit/9757d29a24ac1872...
  15. The message was actually re-added (in modified, clearer form) in a subsequent commit: https://github.com/sudo-project/sudo/commit/9757d29a24ac1872...
  16. …seems to have two contributors outside Todd Miller which committed more than a handful of lines: https://github.com/sudo-project/sudo/graphs/contributors It's the kind of infrastructure project that doesn't really attract much interest, I…
    comment by formerly_proven · 2023-04-29 · in sudo and su Being Rewritten in Rust for Memory Safety
  17. …wording updated and now dependent on if you have actually set up the mailer to report it somewhere https://github.com/sudo-project/sudo/commit/9757d29a24ac1872...
  18. As it happens - "The warning was restored in a slightly altered form in 9757d29" ( https://github.com/sudo-project/sudo/commit/9757d29a24ac1872... ) - Millert.
  19. This is correct, and was added back a few weeks later in https://github.com/sudo-project/sudo/commit/9757d29a24ac1872...
  20. The warning is added back here: https://github.com/sudo-project/sudo/commit/9757d29a24ac1872...
  21. The fix: https://github.com/sudo-project/sudo/commit/0274a4f3b403162a...
    comment by orf · 2023-01-20 · in Sudoedit can edit arbitrary files
  22. …to forbid "--". I don't really see how any language choice could help you with this. [1]: https://github.com/sudo-project/sudo/commit/0274a4f3b403162a...
    comment by arp242 · 2023-01-19 · in Sudoedit can edit arbitrary files
  23. sudo 1.8.0 was released in Feb 2011: https://github.com/sudo-project/sudo/commit/SUDO_1_8_0
    comment by jwilk · 2023-01-19 · in Sudoedit can edit arbitrary files
  24. > No, the code overwrote the 9th byte of the buffer to add a null terminator: https://github.com/sudo-project/sudo/commit/bd209b9f16fcd127 ... Ah that makes a lot more sense. > So it's not just reading past the end of the buffer, but it's…
  25. To put the relative simplicity into perspective, here is the official Github mirror of sudo: https://github.com/sudo-project/sudo On the contributors tab: https://github.com/sudo-project/sudo/graphs/contributors We can see that sudo has…
  26. No, the code overwrote the 9th byte of the buffer to add a null terminator: https://github.com/sudo-project/sudo/commit/bd209b9f16fcd127... So it's not just reading past the end of the buffer, but it's overwriting a single byte potentially…
  27. Fixed upstream here: https://github.com/sudo-project/sudo/commit/bd209b9f16fcd127...
  28. Indeed: https://github.com/sudo-project/sudo/blob/SUDO_1_9_9/plugins... But this particular message was removed in sudo 1.9.10: https://github.com/sudo-project/sudo/commit/6aa320c96a376136
  29. …different standards on less important things. [1] https://news.ycombinator.com/item?id=25919235 [2] https://github.com/sudo-project/sudo/graphs/contributors [3] https://xkcd.com/2347/ [4] https://xkcd.com/2030/
  30. Looking for a patch/package for Cent6, otherwise will have to try to compile it I guess. UPDATE: https://github.com/sudo-project/sudo/releases/tag/SUDO_1_9_5... UPDATE AGAIN: https://www.sudo.ws/download.html#binary
  31. We’d all like that, true, but look here: https://github.com/sudo-project/sudo/graphs/contributors That’s one maintainer, not even full time according to his résumé. What you just described is multiple specialists and some supporting tools,…
    comment by acdha · 2021-01-27 · in Heap-based buffer overflow in Sudo
  32. The actual commit: https://github.com/sudo-project/sudo/commit/8255ed69
    comment by statquontrarian · 2021-01-27 · in Heap-based buffer overflow in Sudo
  33. …the sudo bad environment variable list[1], which I recently found a 15 year old typo in.[2] [1]: https://github.com/sudo-project/sudo/blob/master/plugins/sud... [2]: https://www.sudo.ws/repos/sudo/rev/bdf9c9e7f455
    comment by awirth · 2020-07-14 · in Hacking with environment variables
  34. FWIW, sudo uses Mercurial, not git. https://github.com/sudo-project/sudo is just a mirror.
  35. Best part is the fix: https://github.com/sudo-project/sudo/commit/b5d2010b6514ff45... Time to delete sudo.