On Tue, Mar 28, 2000 at 06:15:07AM -0700, Irwan Hadi wrote:
> Now, after I use Mandrake 6.1 to run tcpserver or tcprules I need to
> go to /usr/local/bin first
> then
> use dot command
> ./tcprules , ./tcpserver and so on
> How to make they can run without giving dot command ? (I tried on RedHat
> 6.0 system, it could)
>
The user you are logged in as (presumably root but I'm not sure)
hasn't got '.' (the current directory) in their PATH environment
variable.
It's usual *not* to have '.' in root's path for security reasons so
you just have to live with using ./<command> when you're root. For
commands in /usr/local/bin you could of course just add /usr/local/bin
to root's PATH variable, I don't think that has any security
implications as long as only root can write in /usr/local/bin.
If this is just a home system to which only you have access it's
probably acceptable to add '.' to root's PATH variable.
--
Chris Green ([EMAIL PROTECTED])
Home: [EMAIL PROTECTED] Work: [EMAIL PROTECTED]
WWW: http://www.isbd.co.uk/