Re[2]: Cannot do Virtual-Users

zwjunk <[email protected]> Thu, 5 Jan 2006 19:31:08 -0500
Newsgroups gmane.network.pureftpd.user
Message-ID <[email protected]>
Pablo Arias <[email protected]> wrote:

PA> Try changing this line:

PA> 	useradd -g ftpgroup -d /dev/null -s /etc ftpuser
PA> To:
PA> 	useradd -g ftpgroup -d /dev/null -s /bin/false ftpuser

I did a userdel followed by the useradd suggested above. It did not help. (I
also tried it without the -s shell option.)

Jeremy Kitchen <[email protected]> wrote:

>pure-ftpd by default will not allow login if the uid is resolved to be less
>than 100.

>what is the uid of 'ftpuser'?

ftpuser:x:501:500::/dev/null:/bin/bash

Here is my original post, explaining my inability to create a virtual-user that
can successfully login. I get an "authentication failed" message when trying to
ftp.

zw>    groupadd ftpgroup
zw>    useradd -g ftpgroup -d /dev/null -s /etc ftpuser

zw>    pure-pw useradd test -u ftpuser -d /home/ftpusers/test
zw>    pure-pw mkdb
zw>   /usr/local/sbin/pure-ftpd -B -j -4 -lpuredb:/etc/pureftpd.pdb

zw> Regular users have no problem.

zw> I've goggled this and tried all of the suggestions that people have
zw> made. (It seems a rather common problem!) Have even recompiled/reinstalled
zw> using --with-puredb

Thanks again -

jon
-- 
[email protected]


---------------------------------------------------------------------
To post a new message, e-mail: [email protected]
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]