From 36395e48574d0c63cbc584a4af5da53248d3164c Mon Sep 17 00:00:00 2001 From: David McKnight Date: Tue, 25 Apr 2006 15:49:19 +0000 Subject: [PATCH] changes to make daemon work with different jvms and environments --- .../org.eclipse.rse.services.dstore/serverruntime/auth.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rse/plugins/org.eclipse.rse.services.dstore/serverruntime/auth.pl b/rse/plugins/org.eclipse.rse.services.dstore/serverruntime/auth.pl index 6b4f4da569e..8ca83ce06c0 100644 --- a/rse/plugins/org.eclipse.rse.services.dstore/serverruntime/auth.pl +++ b/rse/plugins/org.eclipse.rse.services.dstore/serverruntime/auth.pl @@ -31,7 +31,7 @@ else $passwd=$passwdStruct[1]; $encryptedPWD = crypt($pwdIN, $passwd); $classpath=$ENV{CLASSPATH}; - $suOptions="-lp"; + $suOptions="-p"; if ($passwd eq $encryptedPWD) { @@ -45,7 +45,7 @@ else $suOptions="-"; } - system("su $suOptions $userIN -c 'java -cp $classpath -DA_PLUGIN_PATH=$pathIN org.eclipse.dstore.core.server.Server $portIN $timeoutIN $ticketIN -Xshareclasses:name=RSE,verbose'"); + system("su $suOptions $userIN -c 'java -cp $classpath -DA_PLUGIN_PATH=$pathIN org.eclipse.dstore.core.server.Server $portIN $timeoutIN $ticketIN'"); 1; } else