become_method: make dzdo more like sudo (#47946)

dzdo is basically a drop-in replacement for sudo and supports the same
command line options.

There is no become_flags set for dzdo like there is for sudo, so users
will have to set that separately to have exactly the same functionality.
This commit is contained in:
James Cassell 2018-12-04 18:24:32 -05:00 committed by ansibot
commit 2bd6b1415b
2 changed files with 6 additions and 2 deletions

View file

@ -76,7 +76,7 @@ BECOME_ERROR_STRINGS = {
'pbrun': '',
'pfexec': '',
'doas': 'Permission denied',
'dzdo': '',
'dzdo': 'Sorry, try again.',
'ksu': 'Password incorrect',
'pmrun': 'You are not permitted to run this command',
'enable': '',