# $Cambridge: hermes/src/prayer/accountd/accountd-linux.cf,v 1.1.1.1 2003/04/15 13:00:02 dpc22 Exp $ # Prayer - a Webmail Interface # # Copyright (c) University of Cambridge 2000 - 2002 # See the file NOTICE for conditions of use and distribution. # # Accountd configuration suitable for Redhat Linux msforward_name = ".MSforward" forward_name = ".forward" aliases_name = "vacation.aliases" filter_restricted = FALSE # While debugging child_timeout = 0 # Authtype options: # PAM (preferred where available) # pwd :: Passwords accessed via getpwnam(), old fashioned crypt # pwd_md5 :: Passwords accessed via getpwnam(), GNU md5 crypt # shadow :: Passwords accessed via getspnam(), old fashioned crypt # shadow_md5 :: Passwords accessed via getspnam(), GNU md5 crypt # authtype = pam # Password changing - Linux defaults. (Warning: Strange race condition with # Linux passwd program. Following only works some of the time... pwd_cmdline = "/usr/bin/passwd" pwd_script = \ readline \ readline \ expect "(current) UNIX password: " \ sendline "$old" \ expect "New password: " \ sendline "$new" \ expect "Retype new password: " \ sendline "$new" \ expect "passwd: all authentication tokens updated successfully." # Fullname checking checkfull_cmdline = "/bin/echo Script still needs to be written" checkfull_script = "result" # Fullname changing full_cmdline = "/usr/bin/chfn -f ${newname}" full_script = \ readline \ expect "Password: " \ sendline "$password" \ expect "Finger information changed." # Quota check quota_cmdline = "fquota -v" quota_hermes = FALSE # SSL configuration, if required #use_ssl = T #ssl_cert_file = "/usr/local/prayer/certs/prayer.pem" #ssl_dh_file = "/usr/local/prayer/certs/prayer.pem" #ssl_rsakey_lifespan = 10m #egd_socket = "/var/prngd/urandom"