1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-08-23 00:03:53 +02:00

updated su options in script

This commit is contained in:
David Dykstal 2006-04-25 21:29:43 +00:00
parent 79ec2c1a87
commit bc2526599c

View file

@ -31,7 +31,7 @@ else
$passwd=$passwdStruct[1]; $passwd=$passwdStruct[1];
$encryptedPWD = crypt($pwdIN, $passwd); $encryptedPWD = crypt($pwdIN, $passwd);
$classpath=$ENV{CLASSPATH}; $classpath=$ENV{CLASSPATH};
$suOptions="-p"; $suOptions="-lp";
if ($passwd eq $encryptedPWD) if ($passwd eq $encryptedPWD)
{ {
@ -45,7 +45,7 @@ else
$suOptions="-"; $suOptions="-";
} }
system("su $suOptions $userIN -c 'java -cp $classpath -DA_PLUGIN_PATH=$pathIN org.eclipse.dstore.core.server.Server $portIN $timeoutIN $ticketIN'"); 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'");
1; 1;
} }
else else