add password prompt for sudo commands, fix #2056