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 Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

SCO Unix Openserver 5.0.6 /etc/profile

Status
Not open for further replies.

Bonestein

Technical User
May 13, 2003
67
US
I was trying to get gzip to work for SCO. and it said "ensure that /usr/local/bin is in your PATH" the only place I could find PATH was in my .profile and I put that line in my .profile but I was the only one that could use the command.
root was unable to use gzip. so I added the line PATH=.:/usr/local/bin
to /etc/profile
now there is nothing in /etc/profile and none of my commands for root work at all. lf ls cd.. nothing.
so I look in /etc/profile and there is nothing in there.
can you help? or maybe tell me how I might be able to replace this file?
 
Try to replace the line you added in
Code:
/etc/profile
by this:
Code:
PATH=$PATH:/usr/local/bin
For root account you must edit
Code:
/.profile

Hope This Help
PH.
 
Thanks for showing me the way to go.

I removed the line out of /etc/profile

my /.profile was at /u/.profile for root

but it works now, now I just need to get gcc working.



thanks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top