1
0
Fork 0
mirror of https://github.com/sudo-project/sudo.git synced 2026-09-19 15:30:52 +00:00
Utility to execute a command as another user
  • C 76.1%
  • Shell 9.1%
  • Makefile 7.8%
  • M4 3.3%
  • Yacc 1%
  • Other 2.7%
Find a file
2026-09-10 20:28:28 -06:00
.circleci Update Xcode to 26.2 2025-12-27 08:49:15 -07: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 Document the dangers of using regular expressions to match sudoedit args. 2026-08-31 20:23:22 -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 Move contains_dot_dot() to libsudo_util. 2026-04-21 10:38:47 -06:00
lib Fix the 'o' conversion the # flag with a precision of 0. 2026-09-10 20:14:32 -06:00
logsrvd evlog_new: Only create the event log UUID once 2026-07-09 20:19:35 -06:00
m4 configure: error out if log or run dir is set to "no" 2025-12-15 15:06:31 -07:00
plugins sudoers_policy_deserialize_info: upper limits for strings from front-end 2026-09-07 19:22:25 -06:00
po Updated translations from translationproject.org 2026-07-07 19:52:26 -06:00
scripts mkdep.pl: Prevent infinite recursion when looking for includes 2026-06-30 20:10:37 -06:00
src Add missing include of errno.h. 2026-09-10 20:28:28 -06:00
.clang-format Minor cleanup (#110) 2021-08-19 09:48:01 -06:00
.gitignore Ignore some test binaries 2026-02-13 19:25:39 -07:00
.hgignore Ignore some test binaries 2026-02-13 19:25:39 -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 configure: Add check for O_NOFOLLOW definition in fcntl.h 2026-02-06 09:59:21 -07:00
configure configure: Add check for O_NOFOLLOW definition in fcntl.h 2026-02-06 09:59:21 -07:00
configure.ac configure: Add check for O_NOFOLLOW definition in fcntl.h 2026-02-06 09:59:21 -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 Sudoedit arguments must be file names starting with '/' or a regex. 2026-05-23 09:02:02 -06: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.