dot

packages and services management
Log | Files | Refs | README

commit 17ee0dca1540d93aa3db989dbe44bf6f65e57007
parent 45f2bccb618e2998e900682b24b798d94ff204e8
Author: Josuah Demangeon <mail@josuah.net>
Date:   Sat, 15 Dec 2018 14:05:20 +0100

s6/ffingerd: do not run ffingerd as root

Diffstat:
As6/ffingerd/x/env/USER | 1+
Ms6/ffingerd/x/run | 5++++-
2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/s6/ffingerd/x/env/USER b/s6/ffingerd/x/env/USER @@ -0,0 +1 @@ +finger diff --git a/s6/ffingerd/x/run b/s6/ffingerd/x/run @@ -5,6 +5,9 @@ s6-envdir env multisubstitute { importas BIND BIND importas PORT PORT + importas USER USER } -s6-tcpclient $BIND $PORT ffingerd +s6-envuidgid ${USER} +s6-tcpserver ${BIND} ${PORT} +ffingerd