Amanda-Users

Re: Errors when running amcheck - # su amanda -c "/usr/sbin/amcheck DailySet1"

2005-04-14 11:49:44
Subject: Re: Errors when running amcheck - # su amanda -c "/usr/sbin/amcheck DailySet1"
From: Jon LaBadie <jon AT jgcomp DOT com>
To: Amanda List <amanda-users AT amanda DOT org>
Date: Thu, 14 Apr 2005 11:34:54 -0400
On Thu, Apr 14, 2005 at 02:13:35PM +0100, Chuck Amadi wrote:
> Hi again
> 
> I am getting somewhere after a battle of some sorts but I have a few
> more errors. I have
> myserver:/usr/lib/amanda # su amanda -c "/usr/sbin/amcheck DailySet1"
> Amanda Tape Server Host Check
> -----------------------------
> WARNING: program /usr/sbin/amcheck: not setuid-root
                                          ^^^^^^ ^^^^
                                             1    2

> myserver:/usr/sbin # ls -l amcheck
> -rwsr-x---  1 amanda disk 189134 Jul  1  2004 amcheck
     ^          ^^^^^^
     1            2

> 
> So I have had to set the sticky bit to /usr/lib/planner and dumper but
> when I tried chmod u+s /usr/sbin/amcheck I still get that error

Note there are two parts to the error message.

Your amanda installation has been done improperly.
There are several programs the must be owned by root and setuid'ed.

-- 
Jon H. LaBadie                  jon AT jgcomp DOT com
 JG Computing
 4455 Province Line Road        (609) 252-0159
 Princeton, NJ  08540-4322      (609) 683-7220 (fax)

<Prev in Thread] Current Thread [Next in Thread>