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]*