aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2008-04-04 14:47:32 +0000
committerYang Tse <yangsita@gmail.com>2008-04-04 14:47:32 +0000
commit532d4b5106137d70810333fccdf8aebb186ca70a (patch)
tree97d0038aad52b26b73601597f3ad72d45c2576e3
parent5788719988617f6da188d8f7454b033ea6f5f27c (diff)
SunSSH sshd ignores UsePrivilegeSeparation option
-rw-r--r--tests/sshserver.pl9
1 files changed, 4 insertions, 5 deletions
diff --git a/tests/sshserver.pl b/tests/sshserver.pl
index 9af868c0e..564e61550 100644
--- a/tests/sshserver.pl
+++ b/tests/sshserver.pl
@@ -606,12 +606,11 @@ if(sshd_supports_opt('UsePAM','no')) {
push @cfgarr, 'UsePAM no';
}
-if($sshdid =~ /SunSSH/) {
+if($sshdid =~ /OpenSSH/) {
# http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6492415
- push @cfgarr, '# UsePrivilegeSeparation yes';
-}
-elsif(sshd_supports_opt('UsePrivilegeSeparation','no')) {
- push @cfgarr, 'UsePrivilegeSeparation no';
+ if(sshd_supports_opt('UsePrivilegeSeparation','no')) {
+ push @cfgarr, 'UsePrivilegeSeparation no';
+ }
}
if(sshd_supports_opt('VerifyReverseMapping','no')) {