|
From: Andre H. <and...@gm...> - 2010-01-28 15:14:18
|
proftpd 1.3.2c Hello List, changed authentication from mod_auth_unix to mod_sql It seems that authentication itselfs works but there must be a problem with homedir. I think it is an conf issue but i dont see it. This is significant output from proftpd -n -d 3 my.servername.com (::ffff:ip.ip.ip.ip[::ffff:ip.ip.ip.ip]) - FTP session opened. my.servername.com (::ffff:ip.ip.ip.ip[::ffff:ip.ip.ip.ip]) - user 'username' authenticated by mod_sql.c my.servername.com (::ffff:ip.ip.ip.ip[::ffff:ip.ip.ip.ip]) - Preparing to chroot to directory '/www/htdocs/username' my.servername.com (::ffff:ip.ip.ip.ip[::ffff:ip.ip.ip.ip]) - Environment successfully chroot()ed my.servername.com (::ffff:ip.ip.ip.ip[::ffff:ip.ip.ip.ip]) - unable to chdir to / (Permission denied), defaulting to chroot directory /www/htdocs/username my.servername.com (::ffff:ip.ip.ip.ip[::ffff:ip.ip.ip.ip]) - username chdir("/"): Permission denied my.servername.com (::ffff:ip.ip.ip.ip[::ffff:ip.ip.ip.ip]) - FTP session closed This "username chdir("/"): Permission denied" is exactly my problem i cannot solve This is my sql-conf-section: SQLAuthTypes Plaintext SQLAuthenticate users #anonymized SQLConnectInfo databasename@host database_user user_password SQLUserInfo ftpuser userid passwd uid gid homedir shell This is csv-content of table ftpuser "2";"username";"mypass";"500";"500";"/www/htdocs/username/";"/bin/false";"0";"0000-00-00 00:00:00";"0000-00-00 00:00:00" THis is conf of main-section: TimesGMT off ServerName "ProFTPD" ServerType standalone Identlookups off DeferWelcome on Port 21 UseReverseDNS off DefaultServer on MaxInstances 50 TimeoutStalled 300 TimeoutLogin 60 MaxLoginAttempts 3 MaxClientsPerUser 10 PassivePorts 50000 50030 ListOptions " -a" <Global> Umask 022 DefaultRoot ~ </Global> user nobody Group nogroup Dont looks very spectacular to me. What could be the issue? Thanks, Andre |