From 369f4a4f088a023c3d25cc3cd036d8fba41a9230 Mon Sep 17 00:00:00 2001 From: Darren 'Tadgy' Austin Date: Sat, 20 Aug 2022 18:04:56 +0100 Subject: [PATCH] Add user specific entires for sudo. --- base-files/sudoers.d/root-access | 4 ++++ base-files/sudoers.d/sbosrcarch-access | 4 ++++ base-files/sudoers.d/seeder-access | 4 ++++ base-files/sudoers.d/slackfacts-access | 4 ++++ 4 files changed, 16 insertions(+) create mode 100644 base-files/sudoers.d/root-access create mode 100644 base-files/sudoers.d/sbosrcarch-access create mode 100644 base-files/sudoers.d/seeder-access create mode 100644 base-files/sudoers.d/slackfacts-access diff --git a/base-files/sudoers.d/root-access b/base-files/sudoers.d/root-access new file mode 100644 index 0000000..e0eb1a0 --- /dev/null +++ b/base-files/sudoers.d/root-access @@ -0,0 +1,4 @@ +## Allow users access to root using their own passwords. +tadgy ALL=(root) ALL +# FIXME: Remove user on afterdark.lan. +urchlay ALL=(root) ALL diff --git a/base-files/sudoers.d/sbosrcarch-access b/base-files/sudoers.d/sbosrcarch-access new file mode 100644 index 0000000..e754061 --- /dev/null +++ b/base-files/sudoers.d/sbosrcarch-access @@ -0,0 +1,4 @@ +# FIXME: Remove sbosrcarch access if not required. +## Allow users access to sbosrcarch using their own passwords. +tadgy ALL=(sbosrcarch) ALL +urchlay ALL=(sbosrcarch) ALL diff --git a/base-files/sudoers.d/seeder-access b/base-files/sudoers.d/seeder-access new file mode 100644 index 0000000..b68c9ca --- /dev/null +++ b/base-files/sudoers.d/seeder-access @@ -0,0 +1,4 @@ +# FIXME: Remove seeder access if not required. +## Allow users access to seeder using their own passwords. +tadgy ALL=(seeder) ALL +urchlay ALL=(seeder) ALL diff --git a/base-files/sudoers.d/slackfacts-access b/base-files/sudoers.d/slackfacts-access new file mode 100644 index 0000000..a8fa75f --- /dev/null +++ b/base-files/sudoers.d/slackfacts-access @@ -0,0 +1,4 @@ +# FIXME: Remove slackfacts' access if not required. +## Allow users access to slackfacts using their own passwords. +tadgy ALL=(slackfacts) ALL +urchlay ALL=(slackfacts) ALL