Hello I want a virtual ftp user to upload web stuff so I want one using http user and webgroup (I group I created).

So I did:

pure-pw useradd webftp -u http -g webgroup -d /srv/http
pure-pw mkdb

And restarted the daemon.

When I try to log in it says:

530 Sorry, but I can't trust you

I created a ftpuser as the official guide says:

useradd -g ftpgroup -d /dev/null -s /etc ftpuser

and I Did:

pure-pw useradd webftp -u ftpuser -g webgroup -d /srv/http
pure-pw mkdb

Now It works but I want http to be the user so there is something that pure-pw doesn't like about http user:

ftpuser:x:1001:1001::/dev/null:/etc
http:x:33:33:http:/srv/http:/bin/false

ftpuser have no directory, http user have /srv/http and http user have no shell.

What exactly is making this trouble? And... I'm not sure if I change something about the user and chorokee will cry or something (I think that the user was created that way for a reason).

Thanks.

link|improve this question

feedback

1 Answer

up vote 1 down vote accepted

For the records. The problem was that pureftpd have a "MinUID" variable and it doesn't allow an user of UID < 100 to log in.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.