Ecosyste.ms: OpenCollective
An open API service for software projects hosted on Open Collective.
github.com/sudo-project/sudo
Utility to execute a command as another user
https://github.com/sudo-project/sudo
e244b0cda256eefe62c0a0eca1a96d58e428b4ee authored almost 9 years ago by Todd C. Miller <[email protected]>
202dd1ccf563a1cc83c89de31408d37fc62380ce authored almost 9 years ago by Todd C. Miller <[email protected]>
parent directory exists before running the editor.
5d66b840d8f614775aab03091a478b5cf9cb1341 authored almost 9 years ago by Todd C. Miller <[email protected]>7761af6d7edf5f51700230957eee522e6c9d61da authored almost 9 years ago by Todd C. Miller <[email protected]>
4f1912148fe950f5ee61b122f0c8501f802f72d0 authored almost 9 years ago by Todd C. Miller <[email protected]>
c50cead833bc0a6f05461855555e31df0b10b2c4 authored almost 9 years ago by Todd C. Miller <[email protected]>
54a10726c07e890d1d76e1e04a3343a3917d8871 authored about 9 years ago by Todd C. Miller <[email protected]>
This was preventing a match of SUDO_CONV_PROMPT_ECHO_ON which
resulted in a masked password inste...
got broken while it was converted to use the conversation function.
2afb2f2048412e2c39fe74c0c2d8452287f0426d authored about 9 years ago by Todd C. Miller <[email protected]>SIA. This prevents sudo from sleeping while holding the tty ticket
lock.
the invoking user unless preserved via env_keep.
588460405f1622e1852791167ccb31e27c3dc658 authored about 9 years ago by Todd C. Miller <[email protected]>e21a5a1cf2da91071e53bf5a84f1e41e9e9b46de authored about 9 years ago by Todd C. Miller <[email protected]>
507150d8f277f4f0aaa0d1e057af94585229a79b authored about 9 years ago by Todd C. Miller <[email protected]>
4c7431ecb41a8d99f415f9946c5aba75e692581e authored about 9 years ago by Todd C. Miller <[email protected]>
the caller.
6dc5151d5d15604a0c6cd101220b820b8c5520c9 authored about 9 years ago by Todd C. Miller <[email protected]>files.
37dff5fbcb1532f773235ca543cebc64b590d6e6 authored about 9 years ago by Todd C. Miller <[email protected]>given WUNTRACED if the child is ptraced. Don't exit the waitpid()
loop if WIFSTOPPED is true, ju...
3f883a80a5b4c950cfbe580712af7ddc9e3fb388 authored about 9 years ago by Todd C. Miller <[email protected]>
f98b2b260be34b4507029f5b0651b13e305fdad5 authored about 9 years ago by Todd C. Miller <[email protected]>
exec family of functions. Many modern C libraries use hidden symbols
for the functions and sysca...
d5086dfde444cecea7043098569503d87be628b9 authored about 9 years ago by Todd C. Miller <[email protected]>
below.
6b81f0b88c497c9bc71d1c5b3394f3fdbacd31e2 authored about 9 years ago by Todd C. Miller <[email protected]>282b9213333164cda741e81138cc568455592832 authored about 9 years ago by Todd C. Miller <[email protected]>
the syscalls used internally by libc.
8695ae1049b5a078eff1eec8b883bf6c39f155d4 authored about 9 years ago by Todd C. Miller <[email protected]>conversation function.
04457ecee96bafc61ebebeeb3d137b8613430b7e authored about 9 years ago by Todd C. Miller <[email protected]>52ec12f52f6ada519e0933093bf65ab96e7923bc authored about 9 years ago by Todd C. Miller <[email protected]>
4be48e7845f38b63c364ce16e5d7f60bb1f00a3c authored about 9 years ago by Todd C. Miller <[email protected]>
99322bcf31f58b30460c52d30c8c1adca0ba15cb authored about 9 years ago by Todd C. Miller <[email protected]>
now send itself the same signal with the default signal handler
instead of exiting. The bash she...
USER or USERNAME are preserved.
7b7db55db9c8ccf943ac5d472279d9618f99f8a3 authored about 9 years ago by Todd C. Miller <[email protected]>variables have been preserved from the invoking user's environment,
sudo will now use the preserv...
This was preventing the on_suspend and on_resume functions from
being called on PAM systems.
2c7ff33ea82dc1e7e36c7e25503b48358edba302 authored about 9 years ago by Todd C. Miller <[email protected]>
lseek(). Fixes "sudo -k" on Solaris and probably others.
118680eabf64f31d9a4ea3145243dc8328772c2e authored about 9 years ago by Todd C. Miller <[email protected]>from most other netgroup consumers.
824021b51b6400762492c9e21086e4f76a27e53a authored about 9 years ago by Todd C. Miller <[email protected]>80673750cffc72a6219e649a1ab432dbdc5c5892 authored about 9 years ago by Todd C. Miller <[email protected]>
the password prompt.
0cfce655bd04b020eb1bd48c47f4439bb27bbd6f authored about 9 years ago by Todd C. Miller <[email protected]>71d024632272bf0c28d3ffcf6827f85183a8c868 authored about 9 years ago by Todd C. Miller <[email protected]>
51c2ef7ae60f43584c20da66e0d71f2ad42dcbe3 authored about 9 years ago by Todd C. Miller <[email protected]>
43fd191cfcd9f659c783079f9fcf11c406ffa9ce authored about 9 years ago by Todd C. Miller <[email protected]>
3ac17b302b98b5c290800d0bdd47a481f6546e1c authored about 9 years ago by Todd C. Miller <[email protected]>
process associated with that terminal. It is not sent to the entire
process group so sudo needs ...
b12500993d91b1196c93726bf1e9e6f803a3e439 authored about 9 years ago by Todd C. Miller <[email protected]>
number and the file name. However, resolve_editor() adds "--"
before the file names so the +line...
to libc and there are no known systems that export those symbols
that do not already export the s...
9ff93c307bf825cc99d65f21ac80b1cba8b42afe authored about 9 years ago by Todd C. Miller <[email protected]>
4132f184efa25dfbe36843c6aaf8f684342585fd authored about 9 years ago by Todd C. Miller <[email protected]>
is at its original value if sudo_term_restore() should fail.
38b7aea6b7841f3b3b35cbb654310de082dd133a authored about 9 years ago by Todd C. Miller <[email protected]>return an error.
241174ea2dc5ee388855b0405a194be421cce453 authored about 9 years ago by Todd C. Miller <[email protected]>group plugin. We can just use the main sudo API macros. The sudoers
group plugin macros are pre...
example rule is parsable by visudo.
c45559e6c8467d5caf781b1c2cb420e0a4e6c979 authored about 9 years ago by Todd C. Miller <[email protected]>2f1d6750553c12a699637afefba5a8ba0d9d2c5a authored about 9 years ago by Todd C. Miller <[email protected]>
timespec are too old to build a modern sudo.
67183d74f4acea6ce7bb434994f343c490918a1a authored about 9 years ago by Todd C. Miller <[email protected]>69d51b7590a6b7d06b38689387f23381dd67ac4c authored about 9 years ago by Todd C. Miller <[email protected]>
in for an execve() failure. Fixes an unkillable sudo process when
exec_setup() fails and I/O log...
setreuid() are available. At this point we are already root so
setuid() must succeed. Bug #713
0dbfbee03559dd24e36cb7fd7c5b2816eede3a21 authored about 9 years ago by Todd C. Miller <[email protected]>
2042aa2b75f9aedd06c3e47487f7a09baf85a551 authored about 9 years ago by Todd C. Miller <[email protected]>
3fd97f6badd57ee97699bb2d7544feff55f9ae2e authored about 9 years ago by Todd C. Miller <[email protected]>
If suspended, close the timestamp file (dropping all locks). On
resume, lock the record before r...
function pointer args plus a closure pointer and at it to the
conversation function.
9dedc65a7f92f15c6f56f999514bf8979d53ba5f authored about 9 years ago by Todd C. Miller <[email protected]>
time. Instead of truncating we now unlink the file since another
process may be sleeping on the ...
7d0a623fdd628849e6b102da3fd9f76a46e4ad2e authored about 9 years ago by Todd C. Miller <[email protected]>
don't need to use our own restart loops.
70914b3328ad8f190b35e2ffecc8610d270481c2 authored about 9 years ago by Todd C. Miller <[email protected]>448b18de2b0211bc8d6e4e13a6e7bd1e20ff3911 authored about 9 years ago by Todd C. Miller <[email protected]>
to use per-tty/ppid locking to gain exclusive access to the tty
for the password prompt but use a...
f9b8a43816bf3b9284595a84ebd2ef17a660207f authored about 9 years ago by Todd C. Miller <[email protected]>
file. This will make it possible for multiple sudo processes using
the same tty to serialize the...
af4729380005c63fa9988f75427c85a6854fb1f9 authored about 9 years ago by Todd C. Miller <[email protected]>
as a sentinel as it can legitimately be present. Instead, just use
the count of bytes stored in ...
first valid editor. Bug #714
333faa20e21bf66a7b7a28a450a73f0eca3cf4ee authored about 9 years ago by Todd C. Miller <[email protected]>was never reached. Keep track of the last character and write a
newline character if when copyin...
conversion to use sudo_strsplit. Noticed by Radovan Sroka.
7ef9b5827e6329e76847e13ff4c993a0d60bffbb authored about 9 years ago by Todd C. Miller <[email protected]>AUTH_FATAL on error, not AUTH_FAILURE. In sudo_auth_begin_session()
treat anything other than AU...
the signal is in a different container since the PID namespaces in
different conatiners are separ...
db5376001f27319de389eaad93f1caec1e1010ee authored about 9 years ago by Todd C. Miller <[email protected]>
user name.
ad9a51bd9d3462012db529be0db303552631687c authored about 9 years ago by Todd C. Miller <[email protected]>security consequences.
b2f1bbfb026a47a6c66687c55ace3cb3906d7994 authored about 9 years ago by Todd C. Miller <[email protected]>f1053af3b55dee37ac0cf9a07d0b71823c19894f authored about 9 years ago by Todd C. Miller <[email protected]>
user can write to. While sudoedit will no longer open symbolic
links, hard links are still an is...
c12dd68d1e16bd20b6ffdd469f73855381a85e3d authored about 9 years ago by Todd C. Miller <[email protected]>
796911b3fab51e27c1ca4892bef5b92fb1aa6224 authored about 9 years ago by Todd C. Miller <[email protected]>
Document the failings of the passwd example on GNU systems.
Bug #691
dc5ccf47366417110fd06581400719810f9c0999 authored about 9 years ago by Todd C. Miller <[email protected]>
2fbce103f682d7639818a25bd3eae2c51a61c91d authored about 9 years ago by Todd C. Miller <[email protected]>
f11e02ddd5c77dffaef6876248bbf552fb2068fa authored about 9 years ago by Todd C. Miller <[email protected]>
531bcc8aa64152b7a97d931b1ac4720762d2a827 authored about 9 years ago by Todd C. Miller <[email protected]>
5b2ea42d47d3f3b0735991961f3acde9ad3b5bb6 authored about 9 years ago by Todd C. Miller <[email protected]>
can be controlled by the sudoedit_follow Defaults flag as well as
the FOLLOW/NOFOLLOW tags.
079167d2c412f8a4bba255a45a0d31a8e18b0aa8 authored about 9 years ago by Todd C. Miller <[email protected]>
4501b7416adf1740589a56f235fb7f6fe0da0dee authored about 9 years ago by Todd C. Miller <[email protected]>
4abc13bfca48e7323b5a22de7924735911cd56fe authored about 9 years ago by Todd C. Miller <[email protected]>
e0969c162e64397704027bd1b79b7cb53c476ec9 authored about 9 years ago by Todd C. Miller <[email protected]>
918190fce90b5308591615e77a3c793d4b67b9cc authored about 9 years ago by Todd C. Miller <[email protected]>
with address sanitizer enabled.
1965da8c33bb278beea046c3abeeb0f0e6c91e70 authored about 9 years ago by Todd C. Miller <[email protected]>Bug #710
d536626b186a50d226cedb1dca242ded4f0eb70d authored about 9 years ago by Todd C. Miller <[email protected]>from top_builddir not top_srcdir. From Ross Burton. Bug #708
ddd35459c325d14c90f6334fa09fb826adc5be29 authored about 9 years ago by Todd C. Miller <[email protected]>e941f97eb4df76674ede7865a39c0623a36efbe6 authored about 9 years ago by Todd C. Miller <[email protected]>
0765f5fe7fa5ac75e941355954df400b13ca1947 authored about 9 years ago by Todd C. Miller <[email protected]>