Changes between Initial Version and Version 1 of how-to/servers/create-backup-account


Ignore:
Timestamp:
Jul 9, 2013, 9:34:54 PM (12 years ago)
Author:
Ross
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • how-to/servers/create-backup-account

    v1 v1  
     1= How do I create a backup account for a member? =
     2
     3The steps for creating a backup account for a member are:
     4
     51. Find a backup server with available space.
     62. As `root@BACKUP_SERVER` do
     7{{{
     8useradd MEMBER_NAME-sync
     9}}}
     103. Create a backup directory for the MEMBER_NAME-sync user at /home/members/MEMBERNAME-sync/backups
     11{{{
     12mkdir -p /home/members/MEMBER_NAME-sync/backups
     13}}}
     144. Change ownership of that directory to the MEMBER_NAME-sync user.
     15{{{
     16chown MEMBER_NAME-sync:MEMBER_NAME-sync /home/members/MEMBER_NAME-sync/backups
     17}}}
     185. login as the MEMBER_NAME-sync user.
     19{{{
     20su - MEMBER_NAME-sync
     21}}}
     226. Create a symlink to the backup directory from the member's home directory.
     23{{{
     24ln -s /home/members/MEMBER_NAME-sync/backups backups
     25}}}
     267. Add the rsa key for the user or their monkeysphere/gpg user id to the /home/MEMBER-NAME-sync/.ssh/authorized_keys file or /home/MEMBER-NAME-sync/.monkeysphere/authorized_user_ids file respectively.  Then run
     27{{{
     28 monkeysphere-authentication u MEMBER_NAME-sync
     29}}}
     30
     31The member should now be able to ssh into the server with `ssh MEMBER_NAME-sync@SERVER_NAME.mayfirst.org`.  If they can, then your task is complete!