mirror of
https://github.com/curl/curl.git
synced 2026-05-30 11:07:27 +03:00
SunSSH sshd ignores UsePrivilegeSeparation option
This commit is contained in:
parent
5788719988
commit
532d4b5106
1 changed files with 4 additions and 5 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue