# $Header: /global/src/etc/cl-manage-scripts/patches/RCS/P-sudoers-env_keep_XAUTHORITY,v 1.5 2025/03/21 15:19:26 mas90 Exp $
# Allow xsudo to work, by allowing through XAUTHORITY
# patch-file matches : env_keep.+=."XAUTHORITY"
# patch-file distmatches = Fedora.Core.release.[56]|Fedora.release
# Process using /usr/bin/cl-patch-file unless matching the above
--- /etc/sudoers	2006-08-29 12:23:04.000000000 +0100
+++ /etc/sudoers	2006-08-25 22:50:07.000000000 +0100
@@ -24,1 +24,3 @@
+# cl.cam.ac.uk - allow "xsudo" to work by passing through XAUTHORITY
+Defaults env_keep += "XAUTHORITY"
 
