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 -- Jon H. LaBadie [email protected] 11226 South Shore Rd. (703) 787-0688 (H) Reston, VA 20190 (703) 935-6720 (C)
