On 11 Dec 2002 at 0:18, Ricardo Javier Aranibar León wrote:
Hi list,
I need your help and I hope somebody can help me. I work with linux suse 7.2 I modify my /etc/profile, and I put this line at end of this file (profile) PATH=/usr/java/jdbc/pgjdbc7.3.jar
When I restart my system, I can login to my system, but when i am in the pront i can't execute any command, It is the message that appear when io try to execute startx bash: tee: command not found and when I try ls the same with vi bash: ls: command not found but i can surf by the directories with cd then I like modify of /etc/profile but i can't because the vi, pico don't execute I create two disk the boot and the rescue, but when i connect with this i can into to my system
I need modify my /etc/profile and to remove this line PATH=/usr/java/jdbc/pgjdbc7.3.jar I think that its the problem If somebody can help me i will thankfull
a) this is _never_ security related b) buy a unix book and learn something about the basics; setting a PATH to afile makes no sense to me; better to use a directory here c) in SuSE it is better to put something like that (what needs to be defined system-wide) into /etc/profile.local and last but not least d) you don't want to do that. You set your PATH to your value. What you probably want is: append a value to your PATH. so write: PATH=$PATH:your_path_to_append export PATH into /etc/profile.local. greets Andreas PS: I forgot to mention it: "man bash" will help a lot!