Displaying 1 result from an estimated 1 matches for "rootecho".
Did you mean:
nootech
2011 Jan 13
3
/etc/bashrc causing probs..
Hello,i've appended the below to /etc/bashrc, which is causing an error once i try to rsync using ssh to this specific box.any idea how to prevent bashrc to execute the below to a no login shell ? or any other advice for that matter.
if [ $(id -u) -eq 0 ];then # you are rootecho "###############################################"echo "### You are now working as ROOT. ###"echo "### Pay attention to what you type. ###"echo "###############################################" PS1="\\[$(tput setaf 1)\\]\\u@\\h:\\w #\\[...