#include "license_pbs.h" /* See here for the software license */
/*
 * site_mom_chu.c = a site modifible file
 */

#include <pbs_config.h>   /* the master config generated by configure */

/*
 * This is used only in mom and needs PBS_MOM defined in order to
 * have things from other .h files (such as struct task) be defined.
 * If UNSUPPORTED_MACH is defined, then we just fake it.
 */
#ifndef UNSUPPORTED_MACH
#define PBS_MOM
#endif

#include <sys/types.h>
#include <pwd.h>
#include "portability.h"
#include "list_link.h"
#include "server_limits.h"
#include "attribute.h"
#include "pbs_job.h"
#ifndef UNSUPPORTED_MACH
#include "mom_mach.h"
#include "mom_func.h"
#endif


/*
 * site_mom_chkuser() - for adding validity checking to the user's account
 * on the execution machine.  This is called from start_exec().
 * Return non-zero if you wish the job to be aborted.
 */

int site_mom_chkuser(

  job *pjob)

  {
  return(0);
  }

