From c4a6233acd4fb6ec0d62d95bd6a996f2cb5f79fc Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Mon, 18 May 2015 19:05:11 +0200 Subject: Hardwired path of whoami/id/getent, but we should check all scripts and force PATH in critical ones --- remote/modules/run-virt/data/opt/openslx/scripts/vmchooser-run_virt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'remote/modules/run-virt/data') diff --git a/remote/modules/run-virt/data/opt/openslx/scripts/vmchooser-run_virt b/remote/modules/run-virt/data/opt/openslx/scripts/vmchooser-run_virt index cd13ca81..21c01df6 100755 --- a/remote/modules/run-virt/data/opt/openslx/scripts/vmchooser-run_virt +++ b/remote/modules/run-virt/data/opt/openslx/scripts/vmchooser-run_virt @@ -496,7 +496,7 @@ fi >> "${LOGFILE}" 2>&1 # Start printer daemon QUEUE="STANDARD" # This has to match the queue you configured in your VM -USER="$(whoami)" +USER="$(/usr/bin/whoami)" SPOOLDIR= ### Disabled: 100megs is not enough, some jobs are HUGE, try to use temp which should be on disk ## Try using user's tmpfs home first, as it gets wiped on logout -- cgit v1.2.3-55-g7522