Hello,
net/pure-ftpd creates the following user and group:
@newgroup _pure-ftpd:642
@newuser _pure-ftpd:642:_pure-ftpd:daemon:pure-ftpd
user:/nonexistent:/sbin/nologin
but then, /etc/rc.d/pure_ftpd has:
daemon_flags="-A -B -H -u1000"
so, with this default configuration, users below 1000 can't log in.
Hence, if I create a user this way:
# pure-pw useradd myuser -u _pure-ftpd -d /whatever
# pure-pw mkdb
I can't log in with it ("account disabled"), unless I use something
like "-u600".
Am I missing something about the purpose of the _pure-ftpd user here,
or should the -u parameter in daemon_flags be lowered by default in the
provided package?
Thanks.