mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-21 07:55:24 +02:00
[262013] [dstore][unix] RSE Daemon fails to start server on HP-UX
This commit is contained in:
parent
85ac544c81
commit
250aeb21c7
1 changed files with 3 additions and 2 deletions
|
@ -9,6 +9,7 @@
|
||||||
# Contributors:
|
# Contributors:
|
||||||
# IBM Corporation - initial API and implementation
|
# IBM Corporation - initial API and implementation
|
||||||
# David McKnight (IBM) - [254785] [dstore] RSE Server assumes home directory on target machine
|
# David McKnight (IBM) - [254785] [dstore] RSE Server assumes home directory on target machine
|
||||||
|
# David McKnight (IBM) - [262013] [dstore][unix] RSE Daemon fails to start server on HP-UX
|
||||||
#*******************************************************************************
|
#*******************************************************************************
|
||||||
|
|
||||||
use Shell;
|
use Shell;
|
||||||
|
@ -50,7 +51,7 @@ else
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
$passwd=$passwdStruct[1];
|
$passwd=$passwdStruct[1];
|
||||||
$dir=$passwdStruct[7]; // get the user's home dir
|
$dir=$passwdStruct[7]; # get the user's home dir
|
||||||
#$passwd = $pass;
|
#$passwd = $pass;
|
||||||
|
|
||||||
$encryptedPWD = crypt($pwdIN, $passwd);
|
$encryptedPWD = crypt($pwdIN, $passwd);
|
||||||
|
@ -64,7 +65,7 @@ else
|
||||||
$os = uname();
|
$os = uname();
|
||||||
chomp($os);
|
chomp($os);
|
||||||
|
|
||||||
if (lc($os) eq "aix")
|
if (lc($os) eq "aix" || lc($os) eq "HP-UX")
|
||||||
{
|
{
|
||||||
$suOptions="-";
|
$suOptions="-";
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue