Project

General

Profile

Actions

Bug #3959

closed

sshdcond edit /etc/sshd and gets it wrong

Added by Phillip Davis over 9 years ago. Updated about 9 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
10/25/2014
Due date:
% Done:

100%

Estimated time:
Plus Target Version:
Affected Version:
Affected Plus Version:
Affected Architecture:

Description

sshdcond.inc function restart_sshd() does edits to /etc/sshd and /etc/sshd ends up with invalid PHP syntax.
Forum: https://forum.pfsense.org/index.php?topic=83333.msg456457#msg456457

Does not seem a good idea for packages to be doing editing of base system files like this. As the base system master version changes, the edit becomes invalid and in this case actually breaks the code.

Actions

Also available in: Atom PDF