User=nobody is discouraged by systemd as inherently unsafe
Task Info (Flyspray) | |
---|---|
Opened By | Jianli Gao (Gaojianli) |
Task ID | 71989 |
Type | Bug Report |
Project | Community Packages |
Category | Packages |
Version | None |
OS | All |
Opened | 2021-09-02 05:38:26 UTC |
Status | Assigned |
Assignee | Felix Yan (felixonmars) |
Details
Description:
After start v2ray by using systemd, i received a warning:"/etc/systemd/system/v2ray.service:7: Special user nobody configured, this is not safe!", it seems that systemd is now discouraging the use of "User=nobody".
I replaced the "User=nobody" with "DynamicUser=true" and solved this problem, maybe it's time to update the v2ray.service
with dynamic user? Or we can create another user by systemd-sysusers?