2016-03-23 22:58:39 +01:00
|
|
|
if ( ! grep ssh-askpass etc/sudo.conf 2> /dev/null )
|
2016-02-24 01:27:23 +01:00
|
|
|
then
|
2016-03-23 22:58:39 +01:00
|
|
|
cat >> etc/sudo.conf << "EOF"
|
2016-02-24 01:27:23 +01:00
|
|
|
# Path to askpass helper program
|
|
|
|
Path askpass /usr/libexec/openssh/ssh-askpass
|
|
|
|
EOF
|
|
|
|
chmod -v 0644 /etc/sudo.conf
|
|
|
|
fi
|