-
Notifications
You must be signed in to change notification settings - Fork 33
Expand file tree
/
Copy pathsudo.config
More file actions
executable file
·50 lines (38 loc) · 2.67 KB
/
sudo.config
File metadata and controls
executable file
·50 lines (38 loc) · 2.67 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
# .sudo.config
# Set SUDO__SHELL_HOME which will be used as sudo shell home directory
#SUDO__SHELL_HOME="$SUDO__TERMUX_HOME/.suroot" # Default: `$SUDO__TERMUX_HOME/.suroot`
#SUDO__SHELL_HOME="$SUDO__TERMUX_HOME" # Use '$SUDO__TERMUX_HOME' as sudo shell home
# Set SUDO__POST_SHELL_HOME which will be used as sudo post shell home directory
#SUDO__POST_SHELL_HOME="$SUDO__TERMUX_HOME/.suroot" # Default: `$SUDO__TERMUX_HOME/.suroot`
#SUDO__POST_SHELL_HOME="$SUDO__TERMUX_HOME" # Use '$SUDO__TERMUX_HOME' as sudo post shell home
# Set the prompt string 1 for the sudo shell
#SUDO__SHELL_PS1="# " # Default: `# `
# Set the prompt string 1 for the sudo post shell
#SUDO__POST_SHELL_PS1="# " # Default: `# `
# Set any additional paths you want to export other than termux bin, android bin and su bin paths,
# separated with colons `:`
# The string must not start or end with or contain two consecutive colons ':'
# The `--export-paths` option will override this value
#SUDO__ADDITIONAL_PATHS_TO_EXPORT="" # Default: ``
# Set to "1" or pass "-L" as argument if you want to automatically export all the paths that already exist
# in the PATH variable at the moment the sudo command is run
# The default paths mentioned above and any path in SUDO__ADDITIONAL_PATHS_TO_EXPORT are always exported
#SUDO__EXPORT_ALL_EXISTING_PATHS_IN_PATH_VARIABLE=0 # Default: `0`
# Set any additional ld library paths you want to export other than termux lib and android lib paths,
# separated with colons `:`
# The string must not start or end with or contain two consecutive colons ':'
# The `--export-ld-lib-paths` option will override this value
#SUDO__ADDITIONAL_LD_LIBRARY_PATHS_TO_EXPORT="" # Default: ``
# Set to "1" or pass "-P" as argument if you want to automatically export all the paths that already exist
# in the LD_LIBRARY_PATH variable at the moment the sudo command is run
# The default paths mentioned above and any path in SUDO__ADDITIONAL_LD_LIBRARY_PATHS_TO_EXPORT are always exported
#SUDO__EXPORT_ALL_EXISTING_PATHS_IN_LD_LIBRARY_PATH_VARIABLE=0 # Default: `0`
# Set to 1 if you want to automatically create rc files for interactive shells, otherwise 0
#SUDO__SHELLS_AUTOMATICALLY_CREATE_RC_FILES=1 # Default: `1`
# Set to 1 if you want to automatically create history files for interactive shells, otherwise 0
#SUDO__SHELLS_AUTOMATICALLY_CREATE_HISTORY_FILES=1 # Default: `1`
# Set to 1 if you want to store command history for interactive shells, otherwise 0
#SUDO__SHELLS_HISTORY_ENABLED=1 # Default: `1`
# Set absolute path for su binary to use instead of searching for it in default search paths.
# This can be used if path is not in search paths or all paths in it should not be checked.
#SUDO__SU_PATH="" # Default: ``