change admin ftp password

w31rd0

Verified User
Joined
Jul 30, 2009
Messages
13
Howto do this ?

tried passwd in ssh
tried from control pannel
tried from da login with admin and set random password

it just not changes the ftp from admin account.

what to do any suggestions ?
 
When you change the password in directadmin it is supposed to update the ftp password as well. If not then you are missing lines in /etc/proftpd.conf.

Make sure your /etc/proftpd.conf has the line:
Code:
AuthUserFile                    /etc/proftpd.passwd
 
that line is there

AuthUserFile /etc/proftpd.passwd
DefaultServer on
AuthOrder mod_auth_file.c
 
Then you will have to stop proftpd in directadmin.

Then start it on the shell with:
Code:
proftpd -X

That way you can get more information on what is happening.
 
Checking syntax of configuration file
- warning: "ProFTPd" address/port (xxx:21) already in use by "ProFTPd"
Syntax check complete.


proftpd -x
- unknown option: x
 
i do got this . could this be it ?


<VirtualHost ip1>
ServerName "ProFTPd"
ExtendedLog /var/log/proftpd/ip1.bytes WRITE,READ userlog
AuthUserFile /etc/proftpd.passwd

</VirtualHost>
<VirtualHost ip2>
ServerName "ProFTPd"
ExtendedLog /var/log/proftpd/ip2.bytes WRITE,READ userlog
AuthUserFile /usr/local/directadmin/data/users/admin/ftp.passwd

</VirtualHost>


i manually overwrote the password. cause it needed to be changed .
but there is a problem with the above thing..
 
Last edited:
Back
Top