Bug 2149384
| Summary: | sudo disables coredumping | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Zbigniew Jędrzejewski-Szmek <zbyszek> |
| Component: | sudo | Assignee: | Alejandro López <allopez> |
| Status: | CLOSED NOTABUG | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | rawhide | CC: | alakatos, allopez, kzak, mattdm, rsroka, tosykora, zfridric |
| Target Milestone: | --- | Keywords: | FutureFeature |
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2025-09-03 14:33:50 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Zbigniew Jędrzejewski-Szmek
2022-11-29 19:00:53 UTC
This bug appears to have been reported against 'rawhide' during the Fedora Linux 38 development cycle. Changing version to 38. From the sudoers(5) man page:
Resource limits
By default, sudoers uses the operating system's native method of setting resource
limits for the target user. On Linux systems, resource limits are usually set by the
pam_limits.so PAM module. On some BSD systems, the /etc/login.conf file specifies
resource limits for the user. On AIX systems, resource limits are configured in the
/etc/security/limits file. If there is no system mechanism to set per-user resource
limits, the command will run with the same limits as the invoking user. The one
exception to this is the core dump file size, which is set by sudoers to 0 by default.
Disabling core dumps by default makes it possible to avoid potential security problems
where the core file is treated as trusted input.
Resource limits may also be set in the sudoers file itself, in which case they
override those set by the system. See the rlimit_as, rlimit_core, rlimit_cpu,
rlimit_data, rlimit_fsize, rlimit_locks, rlimit_memlock, rlimit_nofile, rlimit_nproc,
rlimit_rss, rlimit_stack options described below.
|