<
cve>
how do I drop root privileges in a shell script?
<
cve>
setpriv(1) seems to require an additional program at the end of its options
<
cve>
thinking about this more, it seems somewhat hard to achieve without a shell built-in to be honest, due to the execve nature :/
<
spiderella>
step 1: do not run your shell scripts as root