SunSSH sshd ignores UsePrivilegeSeparation option

This commit is contained in:
Yang Tse 2008-04-04 14:47:32 +00:00
parent 5788719988
commit 532d4b5106

View File

@ -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')) {