summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2019-01-02 22:38:53 -0600
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2019-01-02 22:38:53 -0600
commitf02d3ffa42be3f6f4239d96eccd65ef4a0cae50a (patch)
tree7857171de4a838ed1a25eb9a2dbb1498ced37103
parent978fb726d25e712e2794ac74c608591e203ad90f (diff)
downloadadelie-base-f02d3ffa42be3f6f4239d96eccd65ef4a0cae50a.tar.gz
adelie-base-f02d3ffa42be3f6f4239d96eccd65ef4a0cae50a.tar.bz2
adelie-base-f02d3ffa42be3f6f4239d96eccd65ef4a0cae50a.tar.xz
adelie-base-f02d3ffa42be3f6f4239d96eccd65ef4a0cae50a.zip
profile: add sbin paths to user PATH
-rw-r--r--tree/etc/profile3
1 files changed, 2 insertions, 1 deletions
diff --git a/tree/etc/profile b/tree/etc/profile
index dcf6020..cee9ca1 100644
--- a/tree/etc/profile
+++ b/tree/etc/profile
@@ -12,10 +12,11 @@ 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"
+ PATH="/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games:/usr/local/sbin:/usr/sbin:/sbin"
PS1="$(whoami 2>/dev/null)@$(uname -n 2>/dev/null) \$ "
fi
export PATH
+export PS1
# Users don't want anyone else writing their files. System applications allow