Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

profile not working

Status
Not open for further replies.

bookouri

IS-IT--Management
Feb 23, 2000
1,464
US
I cant get my path to set.
I have this in etc/profile
PATH=/usr/sbin:/usr/bin:/usr/openwin/bin:.
export PATH

I have this in the user .profile
PATH=/usr/sbin:/usr/bin:/usr/openwin/bin:.
export PATH

If I logon as the user the profile sets path as:
$ echo $PATH
/usr/bin:

If I then do . .profile the path is updated to the correct
$ . .profile
$ echo $PATH
/usr/sbin:/usr/bin:/usr/openwin/bin:.
$

What am I doing wrong? My understanding is that the etc/profile is executed for every user logging on and then the users .profile is executed. Am I missing something else?

I would appreciate any help, suggestions etc...



 
Ok, I sort of solved the problem. I hadnt thought about it but I was logging in through Exceed. So Im actually logging in to an xterminal session. If I telnet in and login the path works fine. Now I just have to find out where to set the xterminal path. Or am I still missing something here?

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top