On Tue, 13 Jul 1999, John Aldrich wrote:

> Ok....one I can give you right off the top is "timed" It
> will NOT run as SuperUser, but it WILL run as "root." It
> comes back with "timed command not found." This is from a
> text-mode prompt, not a window prompt, just a standard
> shell prompt. However, I run that logged in as "root" and
> it works just fine.

You did just "su", not "su -". The difference is that "su -" reruns the
login scripts, etc., so you get the right PATH for root.

timed is in /usr/sbin, which is in the PATH of root, but not the PATH of
normal users.

Either do "su -", or stay with "su" and run /usr/sbin/timed rather than
just timed.

LLaP
bero


Reply via email to