summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2019-08-23 14:57:39 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2019-08-23 14:57:39 -0500
commit072cb3bce4569795e76dacef22cb5f4661b2d4ac (patch)
tree7fef069a739fabfbcfef0666b4ccd58f1d482fc5
parentac59460c09cee0550117ca3a1e83bd7c5d72f2fc (diff)
downloadadelie-base-072cb3bce4569795e76dacef22cb5f4661b2d4ac.tar.gz
adelie-base-072cb3bce4569795e76dacef22cb5f4661b2d4ac.tar.bz2
adelie-base-072cb3bce4569795e76dacef22cb5f4661b2d4ac.tar.xz
adelie-base-072cb3bce4569795e76dacef22cb5f4661b2d4ac.zip
/etc/profile: remove sbin dirs from user PATH
-rw-r--r--CHANGELOG.rst5
-rw-r--r--tree/etc/profile2
2 files changed, 6 insertions, 1 deletions
diff --git a/CHANGELOG.rst b/CHANGELOG.rst
index 99d6adc..6ec9095 100644
--- a/CHANGELOG.rst
+++ b/CHANGELOG.rst
@@ -1,3 +1,8 @@
+0.9.4 (Unreleased)
+==================
+* Remove sbin directories from normal user PATH.
+
+
0.9.3 (17 Aug 2019)
===================
* Release for beta4
diff --git a/tree/etc/profile b/tree/etc/profile
index cee9ca1..3be935e 100644
--- a/tree/etc/profile
+++ b/tree/etc/profile
@@ -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