diff --git a/scripts/configure_test_slurm.py b/scripts/configure_test_slurm.py
index <HASH>..<HASH> 100755
--- a/scripts/configure_test_slurm.py
+++ b/scripts/configure_test_slurm.py
@@ -1,6 +1,7 @@
 from socket import gethostname
 from string import Template
 from subprocess import call
+from getpass import getuser
 
 SLURM_CONFIG_TEMPLATE = '''
 # slurm.conf file generated by configurator.html.
@@ -33,7 +34,7 @@ SlurmctldPort=6817
 SlurmdPidFile=/var/run/slurmd.pid
 SlurmdPort=6818
 SlurmdSpoolDir=/tmp/slurmd
-SlurmUser=john
+SlurmUser=$user
 #SlurmdUser=root
 #SrunEpilog=
 #SrunProlog=
@@ -80,7 +81,7 @@ PartitionName=debug Nodes=$hostname Default=YES MaxTime=INFINITE State=UP
 
 
 def main():
-    template_params = {"hostname": gethostname()}
+    template_params = {"hostname": gethostname(), "user": getuser()}
     config_contents = Template(SLURM_CONFIG_TEMPLATE).substitute(template_params)
     open("/etc/slurm-llnl/slurm.conf", "w").write(config_contents)
     call("slurmctld")
Touch up configure_test_slurm.py for non-my-laptop setups.