From beda0701dc2f0b0e8626fb831b099c8678f703a8 Mon Sep 17 00:00:00 2001 From: Darren 'Tadgy' Austin Date: Tue, 28 Apr 2026 20:29:03 +0100 Subject: [PATCH] sudoers update for systems' admins. --- .gitattributesdb | 4 ++-- etc/sudoers.d/root-access | 7 ++----- 2 files changed, 4 insertions(+), 7 deletions(-) diff --git a/.gitattributesdb b/.gitattributesdb index 37110ba..a746b27 100644 --- a/.gitattributesdb +++ b/.gitattributesdb @@ -189,7 +189,7 @@ ZXRjL3NzaGd1YXJkL3NzaGd1YXJkLmNvbmY= 1774125374.863787370 1777400265.740000000 r ZXRjL3NzaGd1YXJkL3doaXRlbGlzdA== 1775754649.457375401 1777400265.740000000 root:root 0644 - - ZXRjL3N1ZG9lcnMuZC8uZ2l0aWdub3Jl 1762026765.566662574 1777400265.740000000 root:root 0644 - - ZXRjL3N1ZG9lcnMuZC9kZWZhdWx0cw== 1757599359.000000000 1777400265.740000000 root:root 0640 - - -ZXRjL3N1ZG9lcnMuZC9yb290LWFjY2Vzcw== 1776252868.733794486 1776538060.268000000 root:root 0640 - - +ZXRjL3N1ZG9lcnMuZC9yb290LWFjY2Vzcw== 1776252868.733794486 1777404543.632000000 root:root 0640 - - ZXRjL3Rsb2cvdGxvZy1wbGF5LmNvbmY= 1776882188.916000000 1777399650.440000000 root:root 0644 - - ZXRjL3Rsb2cvdGxvZy1yZWMtc2Vzc2lvbi5jb25m 1776881983.992000000 1777379576.304000000 root:root 0644 - - ZXRjL3Rsb2cvdGxvZy1yZWMuY29uZg== 1776705902.348000000 1777402166.840000000 root:root 0644 - - @@ -257,7 +257,7 @@ ZXRjL3NoYWRvdy0= 1776612495.000000000 1776612601.000000000 root:shadow 0640 - - ZXRjL3N1ZG9lcnM= 1770837721.000000000 1776534698.816000000 root:root 0440 - - ZXRjL3N1ZG9lcnMuZC9SRUFETUU= 1770837721.000000000 1776534698.816000000 root:root 0440 - - ZXRjL3N1ZG9lcnMuZC9kZWZhdWx0cw== 1757599359.000000000 1777400265.740000000 root:root 0640 - - -ZXRjL3N1ZG9lcnMuZC9yb290LWFjY2Vzcw== 1776252868.733794486 1776538060.268000000 root:root 0640 - - +ZXRjL3N1ZG9lcnMuZC9yb290LWFjY2Vzcw== 1776252868.733794486 1777404543.632000000 root:root 0640 - - aG9tZS9zeXNhZG1pbg== 1776259276.762930522 1776522838.344000000 sysadmin:users 0711 - - ZXRjL2NlcnRpZmljYXRlcy9jb3JlLnNsYWNrd2FyZS51ay5uZXRfa2V5LnBlbQ== 1776615688.832000000 1776615688.892000000 root:root 0600 - - ZXRjL3dpcmVndWFyZC93ZzAuY29uZg== 1775844035.785502614 1776522824.132000000 root:root 0600 - - diff --git a/etc/sudoers.d/root-access b/etc/sudoers.d/root-access index faa35c3..953b893 100644 --- a/etc/sudoers.d/root-access +++ b/etc/sudoers.d/root-access @@ -1,8 +1,5 @@ -## Allow certain users access to root using their own passwords. -tadgy ALL=(root) ALL +## Allow the Active Directory Systems' Administrators group access to root without a password. +%SLACKWAREUKINT\\systems'\ admins ALL=(root) NOPASSWD: ALL ## Allow the 'sysadmin' user access to root without a password. sysadmin ALL=(root) NOPASSWD: ALL - -## Allow the Active Directory domain administrators access to root without a password. -%Systems\ Admins@slackware.uk.internal ALL=(root) NOPASSWD: ALL