Re:A customer stuck due to a hurricane who needed SSH
by f33d5173 on Thursday September 21, 2023 @09:45PM
(#37606907)
There's a capabilities thing you can do to add the permission to a process without changing users. You can also have it bind to the port as root then drop permissions afterwards.
[ Parent
| on HN ]
Re:A customer stuck due to a hurricane who needed SSH
by fiddlerwoaroof on Thursday September 21, 2023 @10:41PM
(#37607241)
Yeah, but requiring the process to start as root adds a window of vulnerability
Re:A customer stuck due to a hurricane who needed SSH
by superb_dev on Friday September 22, 2023 @01:36AM
(#37608283)
Systemd can setup the privileges before starting the process