Use "sudo -p" with informative prompt instead of echo.

Won't show the prompt if sudo hasn't timed out since
previous authorized sudo activity.