Version 2 (modified by 12 years ago) ( diff ) | ,
---|
How do I create a backup account for a member?
The steps for creating a backup account for a member are:
- Find a backup server with available space.
- As
root@BACKUP_SERVER
douseradd -m -U MEMBER_NAME-sync
- Create a backup directory for the MEMBER_NAME-sync user at /home/members/MEMBERNAME-sync/backups
mkdir -p /home/members/MEMBER_NAME-sync/backups
- Change ownership of that directory to the MEMBER_NAME-sync user.
chown MEMBER_NAME-sync:MEMBER_NAME-sync /home/members/MEMBER_NAME-sync/backups
- login as the MEMBER_NAME-sync user.
su - MEMBER_NAME-sync
- Create a symlink to the backup directory from the member's home directory.
ln -s /home/members/MEMBER_NAME-sync/backups backups
- 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
monkeysphere-authentication u MEMBER_NAME-sync
The 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!
Note:
See TracWiki
for help on using the wiki.