The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > OS Specific Forums > Linux
Google UNIX.COM


Linux RedHat, Ubuntu, SUSE, Fedora, Debian, Mandriva, Slackware, Gentoo linux, PCLinuxOS. All Linux questions here!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
problem with dd command or maybe AFS problem Anta Shell Programming and Scripting 0 08-25-2006 07:10 AM
SSH Problem auth problem budrito UNIX for Advanced & Expert Users 1 03-17-2004 07:12 AM

Reply
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 02-15-2008
Registered User
 

Join Date: Feb 2008
Posts: 1
Problem with /usr/bin

I installed an application in this location /root/jython and I added a link to the /usr/bin because i want everyone on the system to be able to execute this
ln -s /root/jython/jython jython

I can execute this anywhere when i am logged in as root but when i change user to say juju it returns

juju@sus:~>jython
bash:jython: command not found
Reply With Quote
Forum Sponsor
  #2  
Old 02-15-2008
piltrafa's Avatar
Registered User
 

Join Date: Oct 2001
Location: Buenos Aires, Argentina
Posts: 77
Well, you can check if the other user has privileges to read/execute the directory (/root) and the file.

But I would install the application on another place, like /opt, and then add to the PATH the binary directory. Installing applications into root's home directory it's not a good choice.

So, if you install the application on, let's say /opt/jython and the executable file is there, then you should do an export PATH=$PATH:/opt/jython:.

Good luck.
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 10:57 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0