Lines 23-31
umask 022
Link Here
|
23 |
# but it can make tab-completion easier when they aren't in the |
23 |
# but it can make tab-completion easier when they aren't in the |
24 |
# user's PATH to pollute the executable namespace. |
24 |
# user's PATH to pollute the executable namespace. |
25 |
if [ "${EUID-}" = "0" ] || [ "${USER-}" = "root" ] ; then |
25 |
if [ "${EUID-}" = "0" ] || [ "${USER-}" = "root" ] ; then |
26 |
PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin${ROOTPATH:+:}${ROOTPATH-}" |
26 |
PATH="${ROOTPATH}" |
27 |
else |
|
|
28 |
PATH="/usr/local/bin:/usr/bin:/bin${PATH:+:}${PATH-}" |
29 |
fi |
27 |
fi |
30 |
export PATH |
28 |
export PATH |
31 |
unset ROOTPATH |
29 |
unset ROOTPATH |
32 |
- |
|
|