tags 438183 patch
thanks

Hi,

On Aug 16, Nick Shaforostoff wrote:
> Package: wzdftpd
> Version: 0.8.2-1
> Severity: grave
> Justification: renders package unusable
> 
> what i did:
> dpkg -P wzdftpd
> rm -rf /var/log/wzdftpd #because dpkg complained
> apt-get install wzdftpd
> ftp 127.0.0.1
> [type wzdftpd:wzdftpd]
> =>login fails with '421 Could not go to my home directory'
> 
> ps i did fresh install because it stopped to allow all logins
> (including wzdftpd) so i wanted to configure it from scratch
> 
To workaround this you could stop wzdftpd
/etc/init.d/wzdftpd stop
and edit /etc/wzdftpd/users, setting the home directory of 'wzdftpd' in the
[USERS] section to something that exists on your system.
After starting wzdftpd again it should work.

Looks like this file is copied from
/usr/share/wzdftpd/files/users.sample in postinst.
This file is generated from backends/plaintext/users.sample.cmake.
Attached patch sets the homedir for the admin user to /.

Cheers,
Andreas


--- backends/plaintext/users.sample.cmake.orig	2007-08-16 12:34:33.000000000 +0000
+++ backends/plaintext/users.sample.cmake	2007-08-16 12:35:03.000000000 +0000
@@ -15,7 +15,7 @@
 ip_allowed=127.0.0.1
 ip_allowed=::ffff:127.0.0.1
 ip_allowed=::1
[EMAIL PROTECTED]@/@ftproot@/ftp
+default_home=/
 rights=0xffffffff
 gid=0
 
@@ -24,7 +24,7 @@
 [USERS]
 name=wzdftpd
 pass=Oz1iHGIgV8HIQ
[EMAIL PROTECTED]@/@ftproot@/ftp
+home=/
 uid=0
 groups=admin
 rights=0xffffffff
@@ -35,4 +35,4 @@
 bytes_ul_total=0
 bytes_dl_total=0
 num_logins=1
-flags=OIstH
\ No newline at end of file
+flags=OIstH

Reply via email to