shell-base/setup/02-root.sh

7 lines
183 B
Bash
Raw Normal View History

# root login setup only, put in if block
if [ $EUID -eq 0 ] ; then # if root user
echo root specific setup
export PATH=$PATH:/sbin:/usr/sbin
unset HISTFILE
fi