You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Next »

Rsync Configuration

All things rsync currently live on rsync.spamassassin.org under the /home/corpus-rsync directory. There's really 2 types of users for rsync: nightly result submitters, and score generation result submitters. The process of adding an account is the same for both, just using a different file for authorization. Use "sudo" to access the files.

  1. Determine the username for the requestor. We typically use first initial/last name.
  2. Come up with a random password. Something like [http://www.adel.nursat.kz/apg/online/index.php APG] can help.

  3. Put the "username:password" pair in the appropriate file.
  4. Mail the user a non-descript message with the username and password in it.
sudo vi /home/corpus-rsync/secrets
[add a line to the end like "username:3498fgdio"

Nightly submitters get added to the "secrets" file, and also add their real name and email to the file "result-acct". When preparing for a score generation run, overwrite the "secrets-submit" file with the "secrets" file:

sudo cp /home/corpus-rsync/secrets /home/corpus-rsync/secrets-submit
sudo chmod 600 /home/corpus-rsync/secrets-submit

and add anyone else who is only interested in score generation. At the end of the score generation run, the "secrets-submit" file ought to be truncated ala "cat /dev/null > secrets-submit".

  • No labels