Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Aug 2011 19:20:32 +0000
From:      "Morse, Richard E.MGH" <REMORSE@PARTNERS.ORG>
To:        "" <>
Subject:   How to allow Amanda to install as operator?
Message-ID:  <>

Next in thread | Raw E-Mail | Index | Archive | Help
Hi! I'm trying to upgrade my Amanda installation from a v2.6 to v3.2 via po=
rts. I had configured Amanda previously to be installed as the user `operat=
or`. The upgraded version wants to install as the user `amanda`; however th=
is presents all kinds of problems:
	- the `amanda` user has no home directory, one is needed to put the access=
 file in
	- I already have all of the directories set up as owned by operator
	- I have a number of clients that are all set up to allow operator to acce=
ss them, but not "amanda".

I have tried setting AMANDA_USER and AMANDA_GROUP to be `operator`, but thi=
s then complains that `operator` is not found in `/usr/ports/GIDs` and `/us=
r/ports/UIDs`. Since these are part of the base system, I don't want to mes=
s with them, so I groveled through the .mk files, and determined that I sho=
uld be able to provide my own user and group files by setting the GID_FILES=
 and UID_FILES environment variable.

I tried this. I created the necessary files (greping out the data from /etc=
/passwd and /etc/group), put them in the same directory as GIDs and UIDs, a=
nd ran the make command:

	GID_FILES=3D"/usr/ports/OP_GROUP" UID_FILES=3D"/usr/ports/OP_USER" AMANDA_=
USER=3D"operator" AMANDA_GROUP=3D"operator" make install

This runs along for a while, then dies with the note:

	** /usr/ports/OP_GROUP doesn't exist. Exiting.
	*** Error code 1

If I do a `less /usr/ports/OP_GROUP` (copying exactly from the error messag=
e), I can see the file I created just fine.

Is there something that I'm missing? How am I supposed to install a port as=
 a user that already exists? Why doesn't make see that the file exists?


The information in this e-mail is intended only for the person to whom it is
addressed. If you believe this e-mail was sent to you in error and the e-ma=
contains patient information, please contact the Partners Compliance HelpLi=
ne at . If the e-mail was sent to you in e=
but does not contain patient information, please contact the sender and pro=
dispose of the e-mail.

Want to link to this message? Use this URL: <>