gaojun2048 commented on issue #2651:
URL: 
https://github.com/apache/incubator-dolphinscheduler/issues/2651#issuecomment-626128397


   this is my sudoers file:
   ```
   
   Defaults    always_set_home
   Defaults    match_group_by_gid
   
   Defaults    always_query_group_plugin
   
   Defaults    env_reset
   Defaults    env_keep =  "COLORS DISPLAY HOSTNAME HISTSIZE KDEDIR LS_COLORS"
   Defaults    env_keep += "MAIL PS1 PS2 QTDIR USERNAME LANG LC_ADDRESS 
LC_CTYPE"
   Defaults    env_keep += "LC_COLLATE LC_IDENTIFICATION LC_MEASUREMENT 
LC_MESSAGES"
   Defaults    env_keep += "LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER 
LC_TELEPHONE"
   Defaults    env_keep += "LC_TIME LC_ALL LANGUAGE LINGUAS _XKB_CHARSET 
XAUTHORITY"
   
   Defaults    secure_path = /sbin:/bin:/usr/sbin:/usr/bin
   
   root    ALL=(ALL)       ALL
   
   %wheel  ALL=(ALL)       ALL
   ```
   you can update your /etc/sudoers file and copy my content in the file. In my 
case, its ok.
   Another thing you need to confirm is whether your sudo has been alisa. You 
can run `alias` command to show it.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to