On 2013-01-29, Wesley M.A. <open...@e-solutions.re> wrote: > Le 2013-01-29 21:40, jca+o...@wxcvbn.org a écrit : >> "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? > > I want to make work mailserv (ie mailserv.github.com) on OpenBSD-5.2 > When i install it, _nginx was not created. > It is why my question. > > Thank you. > > -- > Wesley > >
OpenBSD now normally runs nginx as the "www" user.