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/passwd    to
> 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 right)
> 
> su -   name-of-acct-with-privilege
> <type acct password>
> sudo bash
> <type same password again to actually turn privs ON>
> 
> Now you are walking around with privs turned ON    so be very very
> careful This might  show up an error that didn’t show up earlier.
> 
> Deb Baddorf
> 
> On Feb 6, 2015, at 11:11 AM, Gene Heskett <[email protected]> wrote:
> > Greetings all;
> > 
> > I just had to install wheezy on a fresh disk, seems the old disk with
> > the Lucid install on it ran out of ink and cannot be written to.
> > 
> > Using the same build script as always, invoked by
> > sudo -i
> > cd /home/amanda
> > su amanda -c "./gh.cf"
> > su: Authentication failure
> > (Ignored)
> > which then goes on to run the gh.cf script as usual!
> > 
> > It first does  a make clean; ../configure with a list of options, same
> > as forever.
> > It finishes up doing a make, and no errors are reported. Other than the
> > auth failure reported and ignored above.
> > 
> > as root, make install.  No errors.
> > 
> > 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.
> > 
> > The amanda stuff in both the old  /etc/passwd and this one are
> > identical, as is the old group and new group.
> > 
> > Next to check?
> > 
> > Thanks.
> > 
> > Cheers, Gene Heskett

Now, I have no clue why the su is failing so badly, but when I awoke just 
now, the email from amanda did not indicate any sort of a problem, and it 
did a level 0 on every DLE in the disklist.  The crontab acive line in the 
file /var/spool/cron/crontabs/amanda is:

01 3 * * * /GenesAmandaHelper-0.61/backup.sh Daily
So it had a full path to backup.sh, and it Just Worked(TM).

NOT having a functional su is a problem I will take back to the debian list 
now,

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 show stopper folks.  I spotted it by reading the 
config.log. For the 4th or 5 th time.

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