On 26/08/13 10:17 AM, Donovan Watteau wrote:
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?

I'm looking back at this and to be honest I don't even know why the port creates the user/group. I understand why the rc script is the way it is.

Stuart, do you remember why the user / group was added?


--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

Reply via email to