Amanda-Users

Re: which files need to be suid root?

2004-06-20 10:04:22
Subject: Re: which files need to be suid root?
From: Jon LaBadie <jon AT jgcomp DOT com>
To: amanda-users AT amanda DOT org
Date: Sun, 20 Jun 2004 09:19:31 -0400
On Sun, Jun 20, 2004 at 02:18:22PM +0200, Bernhard Ott wrote:
> Hello everybody,
> I recently upgraded my Debian(sarge)-packages of amanda to version
> 2.4.4p2-2, which caused a total mess of permissions/ownerships in /usr/sbin:
> 
...
> 
> The amanda-user on Debian is "backup", group "backup".
> I don't want to build amanda from scratch (since everything used to be 
> working
> fine), and I couldn't find a *complete* list of which files have to be
> run suid root - suggestions welcome ;-)
> 
> So everything I have to do should be
> $:# chown root:backup filestochange
> $:# chmod 4750 filestochange
> ??
> Sorry again for the FAQ, but after 2 hours research I gave up ;->

I only spent 5 min, but I'm surprised I did not find it in the FOM.


Here is my list under /usr/local:

    $ find bin sbin libexec -perm -4000 -group backup -ls
    -rwsr-x---  1 root  backup  53936 May 29  2003 sbin/amcheck
    -rwsr-x---  1 root  backup  25236 Jun  1  2003 libexec/calcsize
    -rwsr-x---  1 root  backup  22056 Jun  1  2003 libexec/killpgrp
    -rwsr-x---  1 root  backup  20024 Jun  1  2003 libexec/rundump
    -rwsr-x---  1 root  backup  51424 May 29  2003 libexec/dumper
    -rwsr-x---  1 root  backup  51676 May 29  2003 libexec/planner
    -rwsr-x---  1 root  backup  21144 Jun  1  2003 libexec/runtar

-- 
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>