Amanda-Users

which files need to be suid root?

2004-06-20 08:28:21
Subject: which files need to be suid root?
From: Bernhard Ott <b.ott AT chello DOT at>
To: amanda-users AT amanda DOT org
Date: Sun, 20 Jun 2004 14:18:22 +0200
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:

-rwxr-xr-x    1 root     root        31156 2004-03-15 08:16 /usr/sbin/amadmin
-rwsr-x---    1 root     backup      36148 2004-03-15 08:16 /usr/sbin/amcheck
-rwxr-xr-x    1 root     root         1790 2004-03-15 08:16 /usr/sbin/amcheckdb
-rwxr-xr-x    1 root     root         3915 2004-03-15 08:16 /usr/sbin/amcleanup
-rwxr-xr-x    1 root     root         6988 2004-03-15 08:16 /usr/sbin/amdd
-rwxr-xr-x    1 root     root         3723 2004-03-15 08:16 /usr/sbin/amdump
-rwxr-xr-x    1 root     root        14632 2004-03-15 08:16 /usr/sbin/amflush
-rwxr-xr-x    1 root     root         9028 2004-03-15 08:16 /usr/sbin/amgetconf
-rwxr-xr-x    1 root     root        10592 2004-03-15 08:16 /usr/sbin/amlabel
-rwxr-xr-x    1 root     root         7280 2004-03-15 08:16 /usr/sbin/ammt
-rwxr-xr-x    1 root     root         4474 2004-03-15 08:16 /usr/sbin/amoverview
-rwxr-xr-x    1 root     root         4567 2004-03-15 08:16 /usr/sbin/amplot
-rwxr-xr-x    1 root     root        60760 2004-03-15 08:16 /usr/sbin/amrecover
-rwxr-xr-x    1 root     root        38648 2004-03-15 08:16 /usr/sbin/amreport
-rwxr-xr-x    1 root     root        15044 2004-03-15 08:16 /usr/sbin/amrestore
-rwxr-xr-x    1 root     root         6814 2004-03-15 08:16 /usr/sbin/amrmtape
-rwxr-xr-x    1 root     root        32862 2004-03-15 08:16 /usr/sbin/amstatus
-rwxr-xr-x    1 root     root        16084 2004-03-15 08:16 /usr/sbin/amtape
-rwxr-xr-x    1 root     root        10292 2004-03-15 08:16 /usr/sbin/amtapetype
-rwxr-xr-x    1 root     root         6888 2004-03-15 08:16 /usr/sbin/amtoc
-rwxr-xr-x    1 root     root        11742 2004-03-15 08:16 /usr/sbin/amverify
-rwxr-xr-x    1 root     root         1107 2004-03-15 08:16 
/usr/sbin/amverifyrun

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

Thanks in advance,
Bernhard

--
Bernhard Ott


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