From f02d3ffa42be3f6f4239d96eccd65ef4a0cae50a Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Wed, 2 Jan 2019 22:38:53 -0600 Subject: profile: add sbin paths to user PATH --- tree/etc/profile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3-70-g09d2