how to set correct path?

From: Gerard Henry (ghenry@cmi.univ-mrs.fr)
Date: Fri Apr 01 2005 - 03:13:22 EST


hello all,
i want to set path for all users in /etc/default/login (solaris 9)
# ALTSHELL determines if the SHELL environment variable should be set
#
ALTSHELL=YES

# PATH sets the initial shell PATH variable
#
PATH=/usr/bin:/usr/sbin:/usr/openwin/bin:/usr/openwin/demo:/opt/csw/mysql4/bin:/
usr/sfw/bin:/usr/ccs/bin:/usr/ucb:/opt/SUNWspro/bin:/opt/csw/bin:/usr/local/bin:
/opt/sfw/bin

it's okay when user log in with dtlogin, but if i connect with ssh, PATH
have not the same value:
echo $PATH
/usr/bin:/bin:/usr/sbin:/sbin

is it a normal feature? what's the best way to set path, avoiding
something as source /modele/Cshrc in .cshrc?

thanks in advance,

gerard
_______________________________________________
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:30:28 EDT