News for hackers. Stuff that matters.
Re:Foxconn buys Belkin for $866M by Tepix on Tuesday March 27, 2018 @05:31AM (#16686701)
I didn't know that. Sounds like they are moving in the right direction. One important component that should not run as root is the web server.
Re:Foxconn buys Belkin for $866M by wtallis on Tuesday March 27, 2018 @06:28AM (#16686958)
Generally speaking, I agree that a web server shouldn't be running as root. But when the sole purpose of that web server is to provide root-level control over the system, is there really much security to be gained by running that process as a different user? That "unprivileged" process is still going to have some mechanism for causing arbitrary commands to run as root.

I can imagine that you might have an unprivileged server presenting just the log-in page, then proxying to a privileged server that is started once the administrator is authenticated. But that doesn't get you much more security, and it probably does strain the resources of low-end routers. A small, auditable server may be better than a more complicated system, especially since it is trivial for more paranoid users to disable/uninstall the web server and just use SSH (which nobody seems to mind running as root).