Verified Commit 072cb3bc authored by A. Wilcox's avatar A. Wilcox

/etc/profile: remove sbin dirs from user PATH

parent ac59460c
0.9.4 (Unreleased)
==================
* Remove sbin directories from normal user PATH.
0.9.3 (17 Aug 2019)
===================
* Release for beta4
......
......@@ -12,7 +12,7 @@ if [ $UID -eq 0 ]; then
PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
PS1="$(uname -n 2>/dev/null) # "
else
PATH="/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games:/usr/local/sbin:/usr/sbin:/sbin"
PATH="/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games"
PS1="$(whoami 2>/dev/null)@$(uname -n 2>/dev/null) \$ "
fi
export PATH
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment