Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 May 1998 21:37:20 -0400
From:      "Yarema" <yds@ingress.com>
To:        <amanda-users@cs.umd.edu>
Cc:        <freebsd-stable@FreeBSD.ORG>, <freebsd-ports@FreeBSD.ORG>
Subject:   Re: [can not execute /usr/local/libexec/amanda/runtar: Permission denied]
Message-ID:  <045901bd8aa2$5269ea90$1f40e6cd@ichiban.ingress.com>

next in thread | raw e-mail | index | archive | help
>> I just installed amanda-2.4.0 on a FreeBSD 2.2.6 machine from the FreeBSD
>> ports collection. and I'm getting the above error. I've verified that
runtar
>> is setuid root:
>>
>> -r-sr-x---  1 root  operator  8192 May 27 20:48 runtar
>
>
>Well, if your amanda user is not in group "operator", then you
>will get a permission denied.  Hopefully I am not being to basic
>here.  Please excuse me if I am.


Argh!! No, you're not being to basic. For some strange reason user operator
on FreeBSD 2.2.6 is in group staff and not in group operator. As far as I
can tell user Operator should be in group operator out of the box if the
Amanda port is configured to build
--with-user=operator --with-group=operator

Unless this breaks anything someone at FreeBSD should commit the following
patch:

--- /usr/src/etc/master.passwd.orig     Wed Oct  8 07:34:14 1997
+++ /usr/src/etc/master.passwd  Thu May 28 21:32:15 1998
@@ -1,7 +1,7 @@
 root::0:0::0:0:Charlie &:/root:/bin/csh
 toor:*:0:0::0:0:Bourne-again Superuser:/root:
 daemon:*:1:1::0:0:Owner of many system processes:/root:/nonexistent
-operator:*:2:20::0:0:System &:/usr/guest/operator:/bin/csh
+operator:*:2:5::0:0:System &:/usr/guest/operator:/bin/csh
 bin:*:3:7::0:0:Binaries Commands and Source,,,:/:/nonexistent
 games:*:7:13::0:0:Games pseudo-user:/usr/games:/nonexistent
 news:*:8:8::0:0:News Subsystem:/:/nonexistent



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?045901bd8aa2$5269ea90$1f40e6cd>