1
0
Fork 0
sudo/debian
Daniel Baumann 1406affa3a
Releasing progress-linux version 1.9.16p2-2progress8u1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
2025-06-22 09:53:12 +02:00
..
etc Keeping SSH_CONNECTION SSH_CLIENT SSH_TTY variables in environment. 2025-06-22 09:53:07 +02:00
patches Adding debian version 1.9.16p2-2. 2025-06-22 09:52:38 +02:00
po Adding debian version 1.9.16p2-2. 2025-06-22 09:52:38 +02:00
source Adding debian version 1.9.16p2-2. 2025-06-22 09:52:38 +02:00
tests Adding debian version 1.9.16p2-2. 2025-06-22 09:52:38 +02:00
upstream Adding debian version 1.9.16p2-2. 2025-06-22 09:52:38 +02:00
changelog Releasing progress-linux version 1.9.16p2-2progress8u1. 2025-06-22 09:53:12 +02:00
control Updating vcs fields. 2025-06-22 09:52:38 +02:00
copyright Adding debian version 1.9.16p2-2. 2025-06-22 09:52:38 +02:00
libnss-sudo.nss Adding debian version 1.9.16p2-2. 2025-06-22 09:52:38 +02:00
NEWS Adding debian version 1.9.16p2-2. 2025-06-22 09:52:38 +02:00
OPTIONS Disabling admin-flag. 2025-06-22 09:53:07 +02:00
README.Debian Adding debian version 1.9.16p2-2. 2025-06-22 09:52:38 +02:00
rules Disabling admin-flag. 2025-06-22 09:53:07 +02:00
salsa-ci.yml Adding debian version 1.9.16p2-2. 2025-06-22 09:52:38 +02:00
source_sudo.py Adding debian version 1.9.16p2-2. 2025-06-22 09:52:38 +02:00
sudo-ldap.config Adding debian version 1.9.16p2-2. 2025-06-22 09:52:38 +02:00
sudo-ldap.docs Adding debian version 1.9.16p2-2. 2025-06-22 09:52:38 +02:00
sudo-ldap.init Adding debian version 1.9.16p2-2. 2025-06-22 09:52:38 +02:00
sudo-ldap.install Adding debian version 1.9.16p2-2. 2025-06-22 09:52:38 +02:00
sudo-ldap.lintian-overrides Adding debian version 1.9.16p2-2. 2025-06-22 09:52:38 +02:00
sudo-ldap.maintscript Adding debian version 1.9.16p2-2. 2025-06-22 09:52:38 +02:00
sudo-ldap.nss Adding debian version 1.9.16p2-2. 2025-06-22 09:52:38 +02:00
sudo-ldap.postinst Adding debian version 1.9.16p2-2. 2025-06-22 09:52:38 +02:00
sudo-ldap.postrm Adding debian version 1.9.16p2-2. 2025-06-22 09:52:38 +02:00
sudo-ldap.preinst Adding debian version 1.9.16p2-2. 2025-06-22 09:52:38 +02:00
sudo-ldap.templates Adding debian version 1.9.16p2-2. 2025-06-22 09:52:38 +02:00
sudo-ldap.tmpfiles Adding debian version 1.9.16p2-2. 2025-06-22 09:52:38 +02:00
sudo.docs Adding debian version 1.9.16p2-2. 2025-06-22 09:52:38 +02:00
sudo.init Adding debian version 1.9.16p2-2. 2025-06-22 09:52:38 +02:00
sudo.install Adding debian version 1.9.16p2-2. 2025-06-22 09:52:38 +02:00
sudo.lintian-overrides Adding debian version 1.9.16p2-2. 2025-06-22 09:52:38 +02:00
sudo.postinst Adding debian version 1.9.16p2-2. 2025-06-22 09:52:38 +02:00
sudo.postrm Adding debian version 1.9.16p2-2. 2025-06-22 09:52:38 +02:00
sudo.preinst Adding debian version 1.9.16p2-2. 2025-06-22 09:52:38 +02:00
sudo.prerm Adding debian version 1.9.16p2-2. 2025-06-22 09:52:38 +02:00
sudo.tmpfiles Adding debian version 1.9.16p2-2. 2025-06-22 09:52:38 +02:00
watch Adding debian version 1.9.16p2-2. 2025-06-22 09:52:38 +02:00

The version of sudo that ships with Debian by default resets the
environment, as described by the "env_reset" flag in the sudoers file.

This implies that all environment variables are removed, except for
LOGNAME, PATH, SHELL, TERM, DISPLAY, XAUTHORITY, XAUTHORIZATION, XAPPLRESDIR, 
XFILESEARCHPATH, XUSERFILESEARCHPATH, LANG, LANGUAGE, LC_*, and USER.

In case you want sudo to preserve more environment variables, you must
specify the env_keep variable in the sudoers file. You should edit the
sudoers file using the visudo tool.

Examples:
Preserve the default variables plus the EDITOR variable:

    Defaults env_keep+="EDITOR"

Preserve the default variables plus all variables starting with LC_:

    Defaults env_keep+="LC_*"

	- - - - -

If you're using the sudo-ldap package, note that it is now configured to 
look for /etc/sudo-ldap.conf.  Depending on your system configuration, it
probably makes sense for this to be a symlink to /etc/ldap.conf, or perhaps
to /etc/libnss-ldap.conf or /etc/pam_ldap.conf.  By default, no symlink or
file is provided, you'll need to decide what to do and create a suitable
file before sudo-ldap will work.

	- - - - -

As of version 1.7, sudo-ldap now requires the LDAP source to be specified
in /etc/nsswitch.conf with a line like:

  sudoers:	ldap

	- - - - -

Note that the support for the sss provider (libsss_sudo.so) that allows sudo
to use SSSD as a cache for policies stored in LDAP is included in the sudo 
package, not in the sudo-ldap package.  I have some hope that this turns out 
to be a better overall solution for using sudo with LDAP, as the sudo-ldap 
package is difficult to maintain and I'd love to be able to eliminate it!

	- - - - -

See the file OPTIONS in this directory for more information on the sudo
build options used in building the Debian package.

	- - - - -

If you're having trouble grasping the fundamental idea of what sudo is all
about, here's a succinct and humorous take on it...   

	http://www.xkcd.com/c149.html