Ecosyste.ms: OpenCollective
An open API service for software projects hosted on Open Collective.
Sudo Project
Provide privileged access management for the masses.
Collective -
Host: opensource -
https://opencollective.com/sudo-project
- Website: https://www.sudo.ws
- Code: https://github.com/sudo-project
github.com/sudo-project/sudo - 080e08b0fb19da25bc70fe18457ffbe021738930 authored over 1 year ago
If there is only a single source (usually the sudoers file), the
open function provide enough of...
There's no need to look up the name of user's primary group (pw_gid),
we always include the prim...
github.com/sudo-project/sudo - 05f823df22349b33dd005b69310287ac43323a9c authored over 1 year ago
github.com/sudo-project/sudo - 35a7283dd9fae019d10062167e3a6d57bd7e47f9 authored over 1 year ago
github.com/sudo-project/sudo - 68a9e918605491417796c5a471084d841c7385c0 authored over 1 year ago
github.com/sudo-project/sudo - 75209e271820cb86c4f075991914ae54460a7fa5 authored over 1 year ago
We still need AUTH_INTR to know when to break out of the password
prompt loop.
This is not intended to be used in a production environment.
github.com/sudo-project/sudo - 3c05e748a44f8d1303b2e9fdb1330c75c8821afb authored over 1 year ago
Clang has dropped support for K&R function definitions so rewrite
the test to require a unsetenv...
We use SUDOERS_NAME_MATCH for fuzzing when we want to avoid searching
the file system for commands.
github.com/sudo-project/sudo - c858acc4812b6523e5a2a0ada1ea23d7dd1f7afb authored over 1 year ago
We now explicitly check for ALLOW and DENY when checking return
values and negating values.
The two were treated identically by the caller.
github.com/sudo-project/sudo - bae716642c838c1ab0c0e03f12d15228250180d5 authored over 1 year ago
This function is policy-dependent. For the modern sudo front-end
it will simply check tcpgid an...
This means that lecture_status_dir and timestampdir are only set
if _PATH_SUDO_LECTURE_DIR and _...
Otherwise, sudo will not send mail if "mail_always" or "mail_all_cmnds"
is set.
github.com/sudo-project/sudo - 993ee338d9de0e488bf735cc1bf961fa2ba186ee authored over 1 year ago
github.com/sudo-project/sudo - 37ee2946aab330895109c2da24b32016bfa39256 authored over 1 year ago
github.com/sudo-project/sudo - df969d30b44f80ff1112a50d5713b0865e604619 authored over 1 year ago
github.com/sudo-project/sudo - 522ac12f21c990970c2aa227400b08d0bb8c80f7 authored over 1 year ago
github.com/sudo-project/sudo - 18aba49843dc58cde5cac538d93a9cfc22d7d250 authored over 1 year ago
* modify ret type from int to bool
* change debug_return_int to debug_return_bool
* modify...
github.com/sudo-project/sudo - 60e5842014061a9c216f6f3d1459cd96eecab846 authored over 1 year agogithub.com/sudo-project/sudo - 091051125bb5245ee84ea4bcf667ff9564130e23 authored over 1 year ago
set_perms() is only called with a NULL ctx for PERM_ROOT, PERM_SUDOERS
and PERM_TIMESTAMP.
github.com/sudo-project/sudo - 821799d1f41dc61b0e38e6447d7d468a805d851a authored over 1 year ago
They are not really specific to the user or user-specified.
github.com/sudo-project/sudo - c7157ce0b13b032e73e4ea70e95f45bba4afd813 authored over 1 year ago
The timestamp unlink code does not need the user's struct passwd
pointer, just the user name (wh...
github.com/sudo-project/sudo - df730dec5d7e6342e3753492939a3528eb1465ab authored over 1 year ago
set_perms() is only called with a NULL ctx for PERM_ROOT, PERM_SUDOERS
and PERM_TIMESTAMP.
github.com/sudo-project/sudo - 816120544760dbe54cd97a5867adaadaf3104d56 authored over 1 year ago
Quiets PVS-Studio warning V1028.
github.com/sudo-project/sudo - c6987aa26ea12569e65bc7ab18e702b06ab8d715 authored over 1 year agogithub.com/sudo-project/sudo - 9f05bfd2982f4624ad15f5dfb63ddcc3876ef043 authored over 1 year ago
This is safer than storing a pointer to a stack variable in the
cleanup function since we don't ...
Found by the clang 15 analyzer.
github.com/sudo-project/sudo - 6fa4786534cc10c567feb1cac043b590776776e2 authored over 1 year agogithub.com/sudo-project/sudo - 46e6955ba6fc00241fce37d9f489c6ce3ecbee42 authored over 1 year ago
github.com/sudo-project/sudo - ff5914d7f7984b62d4c8ef085346b6f094a446cc authored over 1 year ago
github.com/sudo-project/sudo - 3473bf9360a99c9d6e2967926ac421aa9edbc9fe authored over 1 year ago
github.com/sudo-project/sudo - 837da1bef0a6f1b790924178e292f8ed815ba130 authored over 1 year ago
There's now no need to pass this directly to init_parser() since we
already pass in a pointer to...
This removes the need for the getters in policy.c.
github.com/sudo-project/sudo - 9e53d903eaea00832f2c0bce47af146cb210f606 authored over 1 year agoThis replaces sudoers_user_ctx_free() and sudoers_runas_ctx_free().
github.com/sudo-project/sudo - bbaf2939127ff765e121da1f68a2f77d45c43db9 authored over 1 year ago
We now pass a pointer to the context where necessary. There are a
few cases where we need to re...
github.com/sudo-project/sudo - 2d2529a15edd0937a7b58488f681feb5be1cc9a1 authored over 1 year ago
github.com/sudo-project/sudo - 1b9fb405a3c02944ff9afbde03114ac4772b022f authored over 1 year ago
The user is expected to pass in an initialized and empty parse_tree
so there is no need to free ...
github.com/sudo-project/sudo - 902453a82963908420bb65f1ce25b562ed1631de authored over 1 year ago
Otherwise, we end up with ngids set to the number of gids the user
belongs to which may be large...
github.com/sudo-project/sudo - f17aebe6aafae454531a90e03b6fd1d8f392cf46 authored over 1 year ago
It is only used by the local password pwutil implementation.
github.com/sudo-project/sudo - 20baa390071c3f98a417800b4782357e95aaaac0 authored over 1 year agoThis way we do not rely on the runas_ctx global.
github.com/sudo-project/sudo - 737354390c22d0fd0b556bbfab06d0c46df11c40 authored over 1 year agogithub.com/sudo-project/sudo - 2e8648ea0f0f06f68cd93725a2db233c73071f29 authored over 1 year ago
github.com/sudo-project/sudo - 08afb5183fe4c94a50526fb0d23469ae0377c633 authored over 1 year ago
github.com/sudo-project/sudo - 392f0d61cbf8fa2947ea69f897837d3164244f32 authored over 1 year ago
github.com/sudo-project/sudo - 217b7b46f33b22fe6eb4083acae9034701efb1fa authored over 1 year ago
github.com/sudo-project/sudo - a321e6cedf903975c16b25f7ffd51631c36bda0e authored over 1 year ago
github.com/sudo-project/sudo - d8b28dad973a7f582e5e533d89832393f4bde799 authored over 1 year ago
github.com/sudo-project/sudo - 930ca0025211f3994f1d4ce6eef8c1f976faca40 authored over 1 year ago
github.com/sudo-project/sudo - 30c49288f78f779b7c2371672c1798077b6b1079 authored over 1 year ago
Also rename the sudo_user global to user_ctx.
github.com/sudo-project/sudo - bd8cccb5dda65b9cdad72018e72af77b2f2923cd authored over 1 year ago
We need to preserve the contents of the struct stat if the fd is
some other type so the check fo...
Otherwise, check_iolog_plugin will not link.
github.com/sudo-project/sudo - 6f659e2deb8a09ee543b710488baf20393ff70ff authored over 1 year agogithub.com/sudo-project/sudo - 603148e7f2cf35f836013bbd15269b4265ce7704 authored over 1 year ago
github.com/sudo-project/sudo - cc15f847ac915570f3600e0a40fc3ea89fa6daf4 authored over 1 year ago
github.com/sudo-project/sudo - ee5cab977fc297b721260dfd1621500d6463481d authored over 1 year ago
This fixes some -Wconversion warnings and fixes an inconsistency
between the libsudo_util event ...
github.com/sudo-project/sudo - 0f2e5dae90e7bec50321778d7149acc6be3a7842 authored over 1 year ago
github.com/sudo-project/sudo - 6842dd1bfdfba1a8833f4534e747d39f8e6e44e6 authored over 1 year ago
The output of "sudo -ll command" consists of the matching sudoers
rule (in long form) with the a...
github.com/sudo-project/sudo - f6291bf83e434c44b51b47322a19d5c93f4eb956 authored over 1 year ago
github.com/sudo-project/sudo - 5a1a3ff74b7c4b91e4c2ba47015007a424345f1e authored over 1 year ago
These have a boolean-style return value. However, our emulated
versions can return -1 on error,...
The JSON logs will store the matching rule source.
github.com/sudo-project/sudo - e178b85821008a4848be6216fe79cf93cdd9cc36 authored over 1 year agoThis makes it possible to tell which rule resulted in a match.
github.com/sudo-project/sudo - 0b03511b85d87bfb2401fcf9ccd026373a158a4d authored over 1 year ago
The single callback now receives all the match info (or UNSPEC if
no match was attempted). This...
github.com/sudo-project/sudo - 5f2a0a70e5be3293cb32897dda1ec55c43f76be1 authored over 1 year ago
This is an API change, sudo_digest_getlen_v1 remains for binary
compatibility.
github.com/sudo-project/sudo - 184e03b4a97053642b2eb30d3d01ed993f6c7102 authored over 1 year ago
github.com/sudo-project/sudo - 861ed2b7d48c923ce8a6c25be0d4fc3cadf72467 authored over 1 year ago
It is not used anywhere else.
github.com/sudo-project/sudo - e5f2354c857fe366aa82846c324219a0db915c0b authored over 1 year agogithub.com/sudo-project/sudo - fc7bfd5046f6f875446aa2ee96797fbc4337e143 authored over 1 year ago
github.com/sudo-project/sudo - d6d467b92e527f2f4c1402a4efb8be5933797304 authored over 1 year ago
github.com/sudo-project/sudo - e6d14c95b6df31c12454d1a1f39e4685a9c53f39 authored over 1 year ago
PolyPkg uses "sudo installp -l" to list the built package by default
but we may not have sudo pr...
This will be used to avoid building the entire package when we just
want the 32 or 64 bit sudo_i...
We want to be able to build without python and to specify the memory
model when building 32-bit ...
This makes it possible to run an arbitrary script between "make
install" and the polypkg run. T...
The noexec and intercept DSO settings may now include both a 32-bit
DSO and a 64-bit DSO specifi...
github.com/sudo-project/sudo - 7cb1f7f3a9c98ec9b4cdbc2e7e40ed79826341ed authored over 1 year ago
github.com/sudo-project/sudo - 961f23af942dac3f19d68e4cc6a51669e05afdc6 authored over 1 year ago
If visudo is used to create a new file, the file will only be created
if the user writes to the ...
This prevents visudo from creating a new zero-length sudoers file
if the user exited the editor ...
GitHub issue #292
github.com/sudo-project/sudo - 50fde5d815ff28c98359389fcf701ca0a39ddfc4 authored over 1 year agogithub.com/sudo-project/sudo - 857653f9f58f894d8bd74cd26fcec33fdf485c24 authored over 1 year ago
Previously, sudo only checked that the fd was a terminal, not that
it matched sudo's idea of the...
github.com/sudo-project/sudo - 14f1a12e2dfc77f91b36d40fd7291868e2b8be1b authored over 1 year ago
github.com/sudo-project/sudo - d62d704e55e6baf0315cc336ea5ad29f8e1c954f authored over 1 year ago
This makes it possible to test "sudo -l" and "sudo -v" using
testsudoers.
This makes sudoers_lookup_pseudo(), which is used for pseudo-command
like "list" and "validate" ...
Reported by the sudo-rs project.
There was a missing space between "list" and the actual command...
github.com/sudo-project/sudo - d486db46cf25f09b19aeb9109d58531f3a3d2d33 authored over 1 year ago