Actions
Bug #3959
closedsshdcond edit /etc/sshd and gets it wrong
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