sudo: Added post-install message

This commit is contained in:
Dylan Araps 2020-05-18 11:13:42 +03:00
parent 91609b534f
commit 0feedea4f0
No known key found for this signature in database
GPG Key ID: 46D62DD9F1DE636E
2 changed files with 20 additions and 1 deletions

19
extra/sudo/post-install Executable file
View File

@ -0,0 +1,19 @@
#!/bin/sh
cat <<EOF
# Nice sudo options to make running the package manager a
# little easier. These options go in /etc/sudoers.
# Disable per-terminal sudo. The password won't need to
# be re-entered between terminal windows.
Defaults timestamp_type=global
# Reduce password input frequency. How long sudo should
# cache a valid password entry (In minutes, 5 is default).
# (Debian's default is 15: https://wiki.debian.org/sudo)
Defaults timestamp_timeout=10
# Prevent the password prompt from timing out if left
# alone with no input for too long.
Defaults passwd_timeout=0
EOF

View File

@ -1 +1 @@
1.9.0 1
1.9.0 2