simba_* users need to be privileged.
This commit is contained in:
parent
b8210f431e
commit
8a85412ec7
|
@ -11,7 +11,8 @@ On the host where you want to keep the backups.
|
||||||
(the ./Build test step should be skipped for now - it works only if
|
(the ./Build test step should be skipped for now - it works only if
|
||||||
the DB has been initialized and when running as root)
|
the DB has been initialized and when running as root)
|
||||||
|
|
||||||
2) create a user simba_ca.
|
2) create a user simba_ca with uid 0 (the user needs at least the
|
||||||
|
CAP_CHOWN, CAP_DAC_OVERRIDE, CAP_FOWNER capabilities).
|
||||||
|
|
||||||
3) create a mysql database, initialize it using schema.mysql and store
|
3) create a mysql database, initialize it using schema.mysql and store
|
||||||
the dbi connection string, username and password in ~simba_ca/.dbi/simba
|
the dbi connection string, username and password in ~simba_ca/.dbi/simba
|
||||||
|
@ -24,7 +25,8 @@ For each host you want to backup:
|
||||||
|
|
||||||
6) Install the software as in 1).
|
6) Install the software as in 1).
|
||||||
|
|
||||||
7) create a user simba_da.
|
7) create a user simba_da with uid 0 (the user needs at least the
|
||||||
|
CAP_DAC_OVERRIDE capability).
|
||||||
|
|
||||||
8) Add the public key created in 4) to ~simba_da/.ssh/authorized_keys
|
8) Add the public key created in 4) to ~simba_da/.ssh/authorized_keys
|
||||||
(you may want to restrict access to the command /usr/local/bin/da)
|
(you may want to restrict access to the command /usr/local/bin/da)
|
||||||
|
|
Loading…
Reference in New Issue