Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ##
- ## Defaults specification
- ##
- ## You may wish to keep some of the following environment variables
- ## when running commands via sudo.
- ##
- ## Locale settings
- # Defaults env_keep += "LANG LANGUAGE LINGUAS LC_* _XKB_CHARSET"
- ##
- ## Run X applications through sudo; HOME is used to find the
- ## .Xauthority file. Note that other programs use HOME to find
- ## configuration files and this may lead to privilege escalation!
- # Defaults env_keep += "HOME"
- ##
- ## X11 resource path settings
- # Defaults env_keep += "XAPPLRESDIR XFILESEARCHPATH XUSERFILESEARCHPATH"
- ##
- ## Desktop path settings
- # Defaults env_keep += "QTDIR KDEDIR"
- ##
- ## Allow sudo-run commands to inherit the callers' ConsoleKit session
- # Defaults env_keep += "XDG_SESSION_COOKIE"
- ##
- ## Uncomment to enable special input methods. Care should be taken as
- ## this may allow users to subvert the command being run via sudo.
- # Defaults env_keep += "XMODIFIERS GTK_IM_MODULE QT_IM_MODULE QT_IM_SWITCHER"
- ##
- ## Uncomment to enable logging of a command's output, except for
- ## sudoreplay and reboot. Use sudoreplay to play back logged sessions.
- # Defaults log_output
- # Defaults!/usr/bin/sudoreplay !log_output
- # Defaults!/usr/local/bin/sudoreplay !log_output
- # Defaults!/sbin/reboot !log_output
- ##
- ## Runas alias specification
- ##
Add Comment
Please, Sign In to add comment