diff options
author | Jesse Luehrs <doy@tozt.net> | 2018-11-16 01:01:38 -0500 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2018-11-16 03:17:37 -0500 |
commit | c08a8241a1844216bd76ecfe6bb7d20a8edaf00a (patch) | |
tree | 22b06f180c349b2cf5d668b7fa593dbb67412f54 /bin | |
parent | e426bc8b2f12746b63f3c14f23ce1785d01e2b77 (diff) | |
download | conf-c08a8241a1844216bd76ecfe6bb7d20a8edaf00a.tar.gz conf-c08a8241a1844216bd76ecfe6bb7d20a8edaf00a.zip |
add a sudo-askpass implementation too
to reduce the number of times i need to type in my password
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/hush/sudo-askpass | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/bin/hush/sudo-askpass b/bin/hush/sudo-askpass new file mode 100755 index 0000000..2f487be --- /dev/null +++ b/bin/hush/sudo-askpass @@ -0,0 +1,5 @@ +#!/bin/sh +set -eu +set -o pipefail + +exec pass "system/$(hostname)/doy" |