On Friday, February 06, 2015 02:49:52 PM you wrote:
> On Fri, Feb 06, 2015 at 12:11:23PM -0500, Gene Heskett wrote:
> > Greetings all;
> 
> ...
> 
> > then:
> > su amanda -c "amcheck Daily"
> > root@coyote:/home/amanda# su amanda -c "amcheck Daily"
> > su: Authentication failure
> > (Ignored)
> > sh: 1: amcheck: not found
> > 
> > But amcheck is sitting in /usr/local/sbin.  And its in the $PATH.
> 
> Is amcheck a script, possibly perl or shell.  If so,
> check the first line which specifies the interpreter.
> Something like:
> 
>   #!/bin/perl
> 
> If it specifies the wrong location the shell reports
> "not found" just like it would for the script not found.
> 
> Wish they would change that message.
> 
> Jon

I will take a look Jon, brb.  No, its a binary.

Thanks.

Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page <http://geneslinuxbox.net:6309/gene>
US V Castleman, SCOTUS, Mar 2014 is grounds for Impeaching SCOTUS

Reply via email to