problem with linux suse
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 Regards, Ricardo _________________________________________________________________ MSN Fotos: la forma más fácil de compartir e imprimir fotos. http://photos.msn.es/support/worldwide.aspx
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!
Hi !
On Wed, 11 Dec 2002, Ricardo Javier Aranibar León wrote:
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
--> Try to state the full path of the editor /usr/bin/vi or /usr/bin/joe to edit your /etc/profile file. The rest of your question was already answered. HTH, Armin -- Am Hasenberg 26 office: Institut für Atmosphärenphysik D-18209 Bad Doberan Schloss-Straße 6 Tel. ++49-(0)38203/42137 D-18225 Kühlungsborn / GERMANY Email: schoech@iap-kborn.de Tel. +49-(0)38293-68-102 WWW: http://armins.cjb.net/ Fax. +49-(0)38293-68-50
participants (3)
-
Andreas Kyek
-
Armin Schöch
-
Ricardo Javier Aranibar León