mirror of
https://github.com/curl/curl.git
synced 2025-01-30 14:22:33 +08:00
SunSSH sshd ignores UsePrivilegeSeparation option
This commit is contained in:
parent
5788719988
commit
532d4b5106
@ -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')) {
|
||||
|
Loading…
Reference in New Issue
Block a user