Product SiteDocumentation Site

2.2.2. Create Account & Set Permissions

Good security practice dictates that server processes should be run under separate, limited accounts. WebMapReduce is no exception. In fact, because it allows users to submit and run programs on your server, keeping its privileges limited is especially important. For this reason, we highly recommend setting up a special account for WMRServer.
The details for setting up an account and setting permissions vary from system to system. Aim for the following:
  1. Create an account named wmr, granting it as few permissions as possible. On systems where this is applicable, make it a "system" account.
    On many Unix systems, the appropriate command would be this:
    $ useradd -r wmr
    
  2. Set the permissions on the $WMR_HOME/conf directory to be readable only by the wmr account and optionally any appropriate administrator accounts.
    The standard Unix commands to do this are the following:
    $ chown -R wmr $WMR_HOME/conf
    $ chmod 500 $WMR_HOME/conf
    
    To additionally allow read/write access to an administrator group:
    $ chgrp -R groupname $WMR_HOME/conf
    $ chmod 570 $WMR_HOME/conf