Re: An odd problem...

2015-02-09 Thread Jean-Louis Martineau
On 02/09/2015 06:30 AM, Gene Heskett wrote: However, I am still disappointed that doing a ./configure did not bail out when it could not find swig2. But no, it continues on its merry way with the error if any is shown being scrolled off-screen and it proceeds to build duff executables. Thats a

Re: An odd problem...

2015-02-09 Thread Gene Heskett
On Friday, February 06, 2015 12:37:35 PM Debra S Baddorf wrote: > How about temporarily actually logging in AS the privileged account, > rather than just using SU ?You might have to edit /etc/passwdto > allow the account to be logged into. You could set it back later.I > do the foll

Re: An odd problem...

2015-02-06 Thread Nathan Stratton Treadway
On Fri, Feb 06, 2015 at 16:09:08 -0500, Gene Heskett wrote: > Doing an su amanda -c "echo $PATH" > shows the first 3 colon separated paths as all /usr/local/sbin where amcheck > is installed. Note that if you do this (with double quotes), the value of $PATH will be expanded by your interactive s

RE: An odd problem...

2015-02-06 Thread Joi L. Ellis
in:/usr/local/games:/usr/games", a constant string.) You have two issues confusing your debugging: " vs ' in your -c parameter, and whether su runs Your profile script, or not. -Original Message- From: Gene Heskett [mailto:ghesk...@wdtv.com] Sent: Friday, February 6, 2015 1

Re: An odd problem...

2015-02-06 Thread Gene Heskett
ound with half a cold cuppa, shaking my head. > > -Original Message- > From: owner-amanda-us...@amanda.org > [mailto:owner-amanda-us...@amanda.org] On Behalf Of Jon LaBadie Sent: > Friday, February 6, 2015 13:50 > To: amanda-users@amanda.org > Subject: Re: An odd problem

RE: An odd problem...

2015-02-06 Thread Joi L. Ellis
ly use the existing PATH you had in your original shell. -Original Message- From: owner-amanda-us...@amanda.org [mailto:owner-amanda-us...@amanda.org] On Behalf Of Jon LaBadie Sent: Friday, February 6, 2015 13:50 To: amanda-users@amanda.org Subject: Re: An odd problem... On Fri, Feb 06, 2015

Re: An odd problem...

2015-02-06 Thread Gene Heskett
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) > > s

Re: An odd problem...

2015-02-06 Thread Jon LaBadie
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/sbi

RE: An odd problem...

2015-02-06 Thread Joi L. Ellis
w, rather than your understanding of the sudo and su commands. -Original Message- From: owner-amanda-us...@amanda.org [mailto:owner-amanda-us...@amanda.org] On Behalf Of Debra S Baddorf Sent: Friday, February 6, 2015 11:38 To: Gene Heskett Cc: Debra S Baddorf; amanda-users@amanda.org Subject

Re: An odd problem...

2015-02-06 Thread Debra S Baddorf
How about temporarily actually logging in AS the privileged account, rather than just using SU ?You might have to edit /etc/passwdto allow the account to be logged into. You could set it back later.I do the following, if I don’t want to mess with SU (or if it isn’t working rig