News for hackers. Stuff that matters.
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
Re:A customer stuck due to a hurricane who needed SSH by greyface- on Friday September 22, 2023 @09:35AM (#37611878)
Run this as root once:

  setcap 'cap_net_bind_service=+ep' /path/to/executable
Now, the process doesn't need to start as root and drop privs.