Operating System - HP-UX
1753797 Members
8927 Online
108805 Solutions
New Discussion юеВ

Re: 11.31 PATH not getting setup from /etc/profile

 
SOLVED
Go to solution
chindi
Respected Contributor
Solution

Re: 11.31 PATH not getting setup from /etc/profile

Hi guys ,

 

It turned out to be permissions issue of /etc/profile , it was 640.

I modified it to 444 , its fine now  ;-)

 

 

 

Torsten.
Acclaimed Contributor

Re: 11.31 PATH not getting setup from /etc/profile

Please revert your modifications like

 

PATH=$PATH:`cat /etc/PATH`

 

otherwise you will see each entry twice.


Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Dennis Handly
Acclaimed Contributor

Re: 11.31 PATH not getting setup from /etc/profile

>Please revert your modifications like: PATH=$PATH:`cat /etc/PATH`

 

This isn't a modification, there is an if-then-else to read from /etc/PATH.

Torsten.
Acclaimed Contributor

Re: 11.31 PATH not getting setup from /etc/profile

You are right as always Dennis ...


Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!