1
0
Fork 0
mirror of https://github.com/sudo-project/sudo.git synced 2026-03-06 14:50:30 +00:00
Utility to execute a command as another user
Find a file
Weixie Cui 969a926a0d env_update_didvar: Fix strncmp length for LOGIN= on AIX
"LOGIN=" is 6 characters, not 8.
2026-03-06 07:47:13 -07: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 sudo_logsrvd: Add option to disable client host name check 2026-02-22 10:39:14 -07:00
etc For rpm platforms use /etc/os-release to get the major version number 2025-09-25 09:37:49 -06:00
examples sudo_logsrvd: Add option to disable client host name check 2026-02-22 10:39:14 -07:00
include exec_mailer: use minimal environment for non-root mailer too 2026-02-21 11:34:35 -07:00
lib exec_mailer: use minimal environment for non-root mailer too 2026-02-21 11:34:35 -07:00
logsrvd connection_closure_free: log an error if SSL_shutdown() fails 2026-02-25 19:17:28 -07:00
m4 configure: error out if log or run dir is set to "no" 2025-12-15 15:06:31 -07:00
plugins env_update_didvar: Fix strncmp length for LOGIN= on AIX 2026-03-06 07:47:13 -07:00
po Updated translations from translationproject.org 2025-11-15 09:33:34 -07:00
scripts Ignore warning about -force_flat_namespace on macOS 2025-10-16 15:27:21 -06:00
src [race] : Move the installation of the SIGCHLD handler before fork 2026-02-27 09:00:34 -07: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 copyright year 2026-01-17 17:13:37 -07:00
Makefile.in Ignore 64-bit time_t warnings in PVS-Studio 2025-09-28 11:02:14 -06:00
MANIFEST Move base64 functions to libsudo_util 2025-10-21 13:46:00 -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.