I've just compiled pure-ftpd (v1.33) using
./configure --with-pam --with-puredb
on my Mac mini Lion and pure-ftpd works fine but I can't access it
because of the authentication problem.
/usr/local/bin/pure-pw useradd root -u 0 -g 0 /private/var/root
tells me to give non-root uid and gid.
I want the ftp server to provide a root access, how can I achieve that?
BTW, interestingly on my Leopard Mac mini, I had compiled the same program 2 years ago and on it the pure-ftpd does accept the root user! (i.e. when I login the directory listed is /private/var/root and I do rwx rights to every folder on harddisk)
So I'm sure there must be a way to achieve this. I've browsed the /configuration-file/pure-ftpd.conf file and couldn't see something like 'AllowRoot' anyway I don't remember arranging any conf file on the Mac mini Leopard.
The last thing I want to note is that the root password I enter on ftp is different than the one on the OS's user root. A bit puzzling really.
Any suggestion is appreciated, thanks.