I want to write a daemon that launches after boot, before login, that does background communication over USB-rawhid with an Arduino microcontroller.
I would like to run this daemon as non-root.
I would also like to avoid creating a new user, just for this daemon.
Are there any system-generic users that could be (re)used for this?
I see in my /etc/shadow
a user listed, named daemon
but...
# su daemon
This account is currently not available.
I am currently targeting:
- Ubuntu 21.04
systemd
- native code, in C, compiled for amd64
It would be a bonus if this generic user would be available in default Debian and Ubuntu installs.