mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-08-17 13:15:44 +02:00
updated su options in script
This commit is contained in:
parent
7fdcd75a7c
commit
fa809ee17b
1 changed files with 2 additions and 2 deletions
|
@ -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="-lp";
|
$suOptions="-p";
|
||||||
|
|
||||||
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 -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;
|
1;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
Loading…
Add table
Reference in a new issue