#! /usr/bin/patch -p0
# $Header: /global/src/etc/cl-manage-scripts/patches/RCS/P-sudoers-krb5,v 1.3 2025/03/21 15:19:26 mas90 Exp $
# patch to allow members of group wheel to run any command under sudo
# using their *OWN* password, e.g. on sec=krb5 hosts
# patch-file matches = staff
# patch-file distmatches = Fedora|CentOS|Red.Hat.Enterprise.Linux|Ubuntu|Debian
# Process using /usr/bin/CL-patch-file unless matching the above
--- /etc/sudoers	2008-10-10 09:53:27.000000000 +0100
+++ /etc/sudoers	2008-10-10 09:54:45.000000000 +0100
@@ -83,2 +83,4 @@
 root	ALL=(ALL) 	ALL
+##1 cl.cam.ac.uk: sec=krb5: group wheel can run any command using own PW
+%sysadmin,%staff,%wheel  ALL=(ALL)       ALL
 
