skip sudo password prompt for NOPASSWD sudoers

A sudo password prompt can be skipped if the user has NOPASSWD privilege, though current implementation always requires just pressing `Enter`.