Displaying 1 result from an estimated 1 matches for "3d052084".
2011 Apr 19
4
/etc/bashrc help!
Dear all,
i've appended the below to /etc/bashrc it works like a charm with ssh
connections though SFTP sessions fail since the below is being sent to
the intiator.
any way of limiting the below to none sftp sessions? or any other idea
for it to work?
# If id command returns zero, you?ve root access.
if [ $(id -u) -eq 0 ];
then # you are root, set red colour prompt
echo