From 58c1b24178c71d1dc2cca9f11286c407b2123010 Mon Sep 17 00:00:00 2001 From: BrainwreckedTech <3752022+BrainwreckedTech@users.noreply.github.com> Date: Thu, 19 Sep 2019 17:24:34 -0400 Subject: [PATCH] First sync --- prompt | 1 + rootpw | 1 + timeout | 1 + zfs | 8 ++++++++ 4 files changed, 11 insertions(+) create mode 100644 prompt create mode 100644 rootpw create mode 100644 timeout create mode 100644 zfs diff --git a/prompt b/prompt new file mode 100644 index 0000000..37a5d63 --- /dev/null +++ b/prompt @@ -0,0 +1 @@ +Defaults passprompt="[sudo] password for %U: " diff --git a/rootpw b/rootpw new file mode 100644 index 0000000..bf179a1 --- /dev/null +++ b/rootpw @@ -0,0 +1 @@ +Defaults rootpw diff --git a/timeout b/timeout new file mode 100644 index 0000000..0e30851 --- /dev/null +++ b/timeout @@ -0,0 +1 @@ +Defaults timestamp_timeout=20 diff --git a/zfs b/zfs new file mode 100644 index 0000000..f66ebad --- /dev/null +++ b/zfs @@ -0,0 +1,8 @@ +## +## Allow any user to run `zpool iostat/status -c smart` in order +## to read basic SMART health statistics for a pool. +## +## CAUTION: Any syntax error introduced here will break sudo. +## + +# ALL ALL = (root) NOPASSWD: /usr/sbin/smartctl -a /dev/[hsv]d[a-z0-9]*