service should (needs?) to be run as root, and root's path should
include /sbin. (service status may not need root permissions,
stop|start|restart should)

hint: if you are using su to get a root prompt, use su -

the - loads root's environment, including the extended path.

 On Sat, 02
Aug 2003 22:15:47+1200 Andrew Packer<[EMAIL PROTECTED]> wrote:

> My RH distro has put some commands into /sbin rather than /user/bin,
> e.g. service, so it's not much different typing "/etc/init.d/whatever
> start" from typing "service whatever start".  (Caused me much anxiety
> earlier on in my year-old Linux career when I couldn't find commands I
> was supposed to have - then I discovered the magic prefix "/sbin/")


Reply via email to