This question already has an answer here:

For example, suppose I have a user sysadm with password abcdefg. But when it needs to execute sudo command, the password is hijklmn.

Is this doable?

marked as duplicate by muru, George Udosen, Eric Carvalho, edwinksl, Videonauth Nov 2 '17 at 0:22

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

Browse other questions tagged or ask your own question.