Amrecover must be run as the root user (after all, the amanda user can't write those files!). In the amanda user's home directory there will be (or you can create) a .amandahosts file. Make sure that the root user is listed there instead of the amanda user for purposes of the amrecover. And don't forget to change it back, or your backups won't work!
On Mon, 3 Dec 2001, Potts, Ross wrote: > Version 2.4.1 on Solaris 2.6 > > I am trying to run Amrecover to recover a mailbox. When I run as Amanda, I am > told that the binary must run as root, when I run as root, I get "access as > Amanda not allowed from root@<Tapeserver name>" > > The exact command I use as root is "/opt/amanda/sbin/amrecover -C HISC -s > cypress -t cypress -d /dev/rmt/1cbn" > > What am I missing? >
