profile question

From: Ian Pease (I.Pease@esteem.co.uk)
Date: Fri Dec 05 2003 - 11:03:32 EST


Hi Gurus
when I log in as root onto my sun1280, I get the following error:
TIA
Ian
root@sun1280 # su - root
Sun Microsystems Inc. SunOS 5.8 Generic Patch October 2001
You have new mail.
Sourcing //.profile-EIS.....
.profile[19]: /: cannot execute
DISPLAY=192.39.16.58:0.0
Here is the contents of the root .profile
root@sun1280 # more .profile
#
# Initial EIS settings for user root
# This file is set up by the setup-standard script.
#
# In the unlikely event that the EIS profile settings are not
# required, comment out the few lines below.
#
# Version 17JAN03

#
PATH=$PATH:/opt/hpnpl/bin
#
# Source the EIS settings if present
#
if [ -f $HOME/.profile-EIS ]
then
echo "Sourcing $HOME/.profile-EIS....."
#. $HOME.profile-EIS
. ./.profile-EIS
fi
#
# Uncomment next section for cluster node or E10k / Sun Fire domain
#
LOGINFROM=`who am i | cut -f2 -d"(" | cut -f1 -d")"`
DISPLAY=${LOGINFROM}:0.0
export LOGINFROM DISPLAY
echo ""
echo "DISPLAY=$DISPLAY"
echo ""
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:27:38 EDT