"Wesley M.A." <open...@e-solutions.re> writes:

> Hi,

Hi

> To add a "daemon user" like for example _nginx :
>
> useradd -L daemon -d /var/empty -s /sbin/nologin -g =uid _nginx
>
> Is this enough ?

[...]

Depends.  Your _nginx user will likely serve files, you don't want to put
them in /var/empty, which is where other daemons chroot.  Do you want to
chroot?  Why not use the www user?  Why not use the devel nginx package,
if you need a more recent version?

-- 
Jérémie Courrèges-Anglas
GPG Key Fingerprint: 61DB D9A0 00A4 67CF 2A90  8961 6191 8FBF 06A1 1494

Reply via email to