1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-02 22:55:26 +02:00

updated su options in script

This commit is contained in:
David Dykstal 2006-04-26 14:06:59 +00:00
parent 7fdcd75a7c
commit fa809ee17b

View file

@ -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