Koozali.org: home of the SME Server
Legacy Forums => General Discussion (Legacy) => Topic started by: mebo on August 14, 2004, 02:05:09 AM
-
Probably a noobie quesiton, but....
I'm trying to run:
/sbin/e-smith/config setprop mysqld LocalNetworkingOnly no
but I get a "bash: config: command not found" response.
Logged on as root and in the /sbin/e-smith dir.
Help please.
-
yay, I get an easy one to answer :-)
Unlike DOS, Linux/Unix does not automatically search in its current directory when given a command to execute. Linux requires that the program in question be in the explicit path or be directly referenced, so ...
/sbin/e-smith/config setprop mysqld LocalNetworkingOnly no
will work (tested it on my SME6 box!) Or ..
cd /sbin/e-smith
./config setprop mysqld LocalNetworkingOnly no
The ./ tells Linux to look in the current directory for the program; the config program is in /sbin/e-smith.
HTH
-
Thanks.
Got it to work fine with the ./ preface.