if ( ! grep ssh-askpass /etc/sudo.conf 2> /dev/null ) then cat >> /etc/sudo.conf << "EOF" # Path to askpass helper program Path askpass /usr/libexec/openssh/ssh-askpass EOF chmod -v 0644 /etc/sudo.conf fi