From 250aeb21c79a7fafc0d4dc538abe0d112c27b7f9 Mon Sep 17 00:00:00 2001 From: David McKnight Date: Tue, 3 Feb 2009 14:51:31 +0000 Subject: [PATCH] [262013] [dstore][unix] RSE Daemon fails to start server on HP-UX --- .../serverruntime/scripts/unix/auth.pl | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/rse/plugins/org.eclipse.rse.services.dstore/serverruntime/scripts/unix/auth.pl b/rse/plugins/org.eclipse.rse.services.dstore/serverruntime/scripts/unix/auth.pl index ff55007265f..5bc66f27c3d 100644 --- a/rse/plugins/org.eclipse.rse.services.dstore/serverruntime/scripts/unix/auth.pl +++ b/rse/plugins/org.eclipse.rse.services.dstore/serverruntime/scripts/unix/auth.pl @@ -9,6 +9,7 @@ # Contributors: # IBM Corporation - initial API and implementation # 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; @@ -50,7 +51,7 @@ else else { $passwd=$passwdStruct[1]; - $dir=$passwdStruct[7]; // get the user's home dir + $dir=$passwdStruct[7]; # get the user's home dir #$passwd = $pass; $encryptedPWD = crypt($pwdIN, $passwd); @@ -64,7 +65,7 @@ else $os = uname(); chomp($os); - if (lc($os) eq "aix") + if (lc($os) eq "aix" || lc($os) eq "HP-UX") { $suOptions="-"; }