1
0
Fork 0
mirror of https://github.com/sudo-project/sudo.git synced 2026-12-03 14:24:42 +00:00
Utility to execute a command as another user
  • C 76.2%
  • Shell 9.1%
  • Makefile 7.8%
  • M4 3.2%
  • Yacc 1%
  • Other 2.7%
Find a file
Todd C. Miller b61bd4c886 sudo_noexec: Support binaries that use a compat syscall ABI
This adapts the seccomp filter from exec_ptrace.c to support binaries
that issue syscalls using a non-native syscall API.  For example,
an x86_64 binary to can invoke an i386 system call through int 0x80.
If the filter can't match the architecture, the binary will be
killed.
2026-12-02 10:46:37 -07:00
.circleci Update to Xcode 27.2 2026-10-12 08:00:53 -06:00
.github Switch to upload-sarif v3 2025-01-16 11:12:46 -07:00
docker Add Kerberos V build and test to CI. 2023-10-31 09:54:57 -06:00
docs evlog_new: Add bounds checks for some AcceptMessage values 2026-10-18 10:21:17 -06:00
etc For rpm platforms use /etc/os-release to get the major version number 2025-09-25 09:37:49 -06:00
examples The sudo_intercept dso does not intercept fexecve() 2026-05-17 20:29:32 -06:00
include All modern systems provide getusershell(). 2026-11-22 07:17:47 -07:00
lib Merge sudo_term_is_raw_int() back into sudo_term_is_raw_v1() 2026-11-26 09:02:45 -07:00
logsrvd handle_winsize, handle_exit: reject negative values from the client 2026-11-25 08:06:19 -07:00
m4 configure: error out if log or run dir is set to "no" 2025-12-15 15:06:31 -07:00
plugins sudoers: reject trailing characters after a timespec fraction 2026-12-01 14:40:25 -07:00
po New Latvian translation from translationproject.org 2026-09-28 09:10:41 -06:00
scripts All modern systems provide getusershell(). 2026-11-22 07:17:47 -07:00
src sudo_noexec: Support binaries that use a compat syscall ABI 2026-12-02 10:46:37 -07:00
.clang-format Minor cleanup (#110) 2021-08-19 09:48:01 -06:00
.gitignore All modern systems provide getusershell(). 2026-11-22 07:17:47 -07:00
.hgignore All modern systems provide getusershell(). 2026-11-22 07:17:47 -07:00
.hgtags update tags 2010-01-18 05:45:25 +00:00
aclocal.m4 AIX usersec.h is missing the passwdexpiredx() prototype. 2025-11-26 16:48:54 -07:00
autogen.sh If AUTOCONF_VERSION is unset, use version 2.71 not 2.69. 2022-11-16 10:11:21 -07:00
config.h.in All modern systems provide getusershell(). 2026-11-22 07:17:47 -07:00
configure All modern systems provide getusershell(). 2026-11-22 07:17:47 -07:00
configure.ac All modern systems provide getusershell(). 2026-11-22 07:17:47 -07:00
INSTALL.configure Sync with autoconf git. 2022-01-25 13:06:11 -07:00
INSTALL.md Remove obsolete TIS Firewall Toolkit (FWTK) "authsrv" support. 2025-09-14 08:41:47 -06:00
LICENSE.md Update embedded copy of zlib to version 1.3.2. 2026-03-14 10:36:08 -06:00
Makefile.in Ignore 64-bit time_t warnings in PVS-Studio 2025-09-28 11:02:14 -06:00
MANIFEST sudoers: reject trailing characters after a timespec fraction 2026-12-01 14:40:25 -07:00
NEWS Add changes included in 1.9.18rc1. 2026-01-16 08:38:36 -07:00
pathnames.h.in Only define _PATH_ENVIRONMENT on systems where we use /etc/environment. 2023-09-20 16:49:27 -06:00
README.LDAP.md Run igor on other docs too, not just man pages 2024-10-28 09:33:23 -06:00
README.md Add SAST tools section 2025-09-28 09:50:23 -06:00

The sudo philosophy

Sudo is a program designed to allow a sysadmin to give limited root privileges to users and log root activity. The basic philosophy is to give as few privileges as possible but still allow people to get their work done.

Where to find sudo

Before building sudo, make sure you have the current version. The latest sudo may always be gotten via anonymous ftp from ftp.sudo.ws in the directory /pub/sudo/ or from the sudo web site, https://www.sudo.ws/

The distribution is sudo-M.m.tar.gz where M is the major version number and m is the minor version number. Beta versions of sudo may also be available. If you join the sudo-workers mailing list you will get the beta announcements (see the Mailing lists section below).

What's new

See the NEWS file for a list of major changes in this release. For a complete list of changes, see the ChangeLog. For a summary of major changes to the current stable release, see https://www.sudo.ws/releases/stable/.

If you are upgrading from an earlier version of Sudo, read docs/UPGRADE.md for information on changes in behavior that may affect you.

For a history of sudo see docs/HISTORY.md. You can find a list of contributors to sudo in docs/CONTRIBUTORS.md.

Building the release

Read the installation guide, INSTALL.md, before trying to build sudo. Pay special attention to the "OS dependent notes" section.

How to contribute

See docs/CONTRIBUTING.md for information on how you can help contribute to sudo.

Sudo is distributed under an ISC-style license. Refer to LICENSE.md for details.

SAST Tools

PVS-Studio - static analyzer for C, C++, C#, and Java code.

Coverity Static Analysis

CodeQL

Clang Static Analyzer

Cppcheck

Mailing lists

sudo-announce

This list receives announcements whenever a new version of sudo is released. https://www.sudo.ws/mailman/listinfo/sudo-announce

sudo-blog

This list receives a message when a new sudo blog article is available. https://www.sudo.ws/mailman/listinfo/sudo-blog

sudo-commits

This list receives a message for each commit made to the sudo source repository. https://www.sudo.ws/mailman/listinfo/sudo-commits

sudo-users

This list is for questions and general discussion about sudo. https://www.sudo.ws/mailman/listinfo/sudo-users

sudo-workers

This list is for people working on and porting sudo. https://www.sudo.ws/mailman/listinfo/sudo-workers

To subscribe to a list, visit its url (listed above) and enter your email address to subscribe. Digest versions are available but these are fairly low traffic lists so the digest versions are not a significant win.

Mailing list archives are also available. See the mailing list web sites for the appropriate links.

Sudo web page

There is a sudo web page at https://www.sudo.ws/ that contains documentation, downloads, a bug tracker, the source repo, the sudo blog, information about beta versions and other useful info.

Filing bug reports/issues

If you believe you have found a bug, you can either file a bug report in the sudo bug database, https://bugzilla.sudo.ws/, or open a GitHub issue, whichever you find easier. If you would prefer to use email, messages may be sent to the sudo-workers@sudo.ws mailing list (public) or to sudo@sudo.ws (private).

For sudo's security policy and how to report security issues, see docs/SECURITY.md.

Please check docs/TROUBLESHOOTING.md before submitting a bug report. When reporting bugs, be sure to include the version of sudo you are using, the operating system and/or distro that is affected, and, if possible, step-by-step instructions to reproduce the problem.