Update docs for bup user home in /opt/backups
We're now putting bup backups into /opt/backups on a cinder volume, updating documentation to move home directories for servers we back up here. Change-Id: I81e68dfb3fd9fd92dfb41ea3415a44db37f6c3af
This commit is contained in:
parent
07fd18e754
commit
77e5b91bbc
@ -210,8 +210,8 @@ On the backup servers::
|
|||||||
|
|
||||||
sudo su -
|
sudo su -
|
||||||
BUPUSER=bup-<short-servername> # eg, bup-jenkins-dev
|
BUPUSER=bup-<short-servername> # eg, bup-jenkins-dev
|
||||||
useradd -r $BUPUSER -s /bin/bash -m
|
useradd -r $BUPUSER -s /bin/bash -d /opt/backups/$BUPUSER -m
|
||||||
cd /home/$BUPUSER
|
cd /opt/backups/$BUPUSER
|
||||||
mkdir .ssh
|
mkdir .ssh
|
||||||
cat >.ssh/authorized_keys
|
cat >.ssh/authorized_keys
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user