On 2006-04-12 12:27, stan wrote:
Again, I've never done that in the past. I've just made ceratin that the amanda
user exists,
and done the build/make install as root. Permissions have alwasy been fine.
Having sad that, I'll rebuild the whole thing today using FQDB's, and building
as amanda, then
installing as root.
It is not important as who you build -- root is no problem (but
security minded sysadmins avoid doing things as root unless needed).
But the "make install" should be done as root.
Then subsequently, you should not RUN the program as root (except
amrecover, which should be run as root), because when running the first
time, Amanda creates some files. When doing that as root - even only
once - those files are owned by root instead of the amanda user
and you run into trouble next time.
BTW, speaking of rebuilding amanda, it would be nice if there were a "make
no-overwrite
confgis" option.
"make install" does not install, nor overwrite any config file.
No need to disable that non-existing feature.
I'll bet you lunch this does not fix my problem though. But it's worth a try.
--
Paul Bijnens, xplanation Technology Services Tel +32 16 397.511
Technologielaan 21 bus 2, B-3001 Leuven, BELGIUM Fax +32 16 397.512
http://www.xplanation.com/ email: Paul.Bijnens AT xplanation DOT com
***********************************************************************
* I think I've got the hang of it now: exit, ^D, ^C, ^\, ^Z, ^Q, ^^, *
* F6, quit, ZZ, :q, :q!, M-Z, ^X^C, logoff, logout, close, bye, /bye, *
* stop, end, F3, ~., ^]c, +++ ATH, disconnect, halt, abort, hangup, *
* PF4, F20, ^X^X, :D::D, KJOB, F14-f-e, F8-e, kill -1 $$, shutdown, *
* init 0, kill -9 1, Alt-F4, Ctrl-Alt-Del, AltGr-NumLock, Stop-A, ... *
* ... "Are you sure?" ... YES ... Phew ... I'm out *
***********************************************************************
|