Password reset: Difference between revisions

From FileZilla Wiki
Jump to navigationJump to search
(Instructions for recovering site passwords in FZ Client, and admin password in FZ Server.)
 
m (Reverted edits by 222.94.102.107 (talk) to last revision by 147.234.18.1)
Tag: Rollback
 
(20 intermediate revisions by 9 users not shown)
Line 4: Line 4:
From the FileZilla client menu, click the File menu, then click Export.
From the FileZilla client menu, click the File menu, then click Export.
Click "Export site manager entries" and then click "OK".
Click "Export site manager entries" and then click "OK".
Save the file to somewhere you can easily find it, e.g. your default documents folder with the name "FileZillaSites_2018-06-10.xml".
Save the file to somewhere you can easily find it, e.g. your default documents folder with a descriptive name and perhaps the date e.g. "FileZillaSites_2018-06-10.txt".
(This is also a handy way to back up your sites.)
 
  Note: (This is also a handy way to back up your sites. If you name the file using '.xml' instead of '.txt', you will be able to re-import the file to other installations of the FileZilla client.)
 
Open the file with a text editor (e.g. Notepad, nano, etc.) and find the password(s) you're looking for.


== FileZilla Server - Administrator Password reset for server ==
== FileZilla Server - Administrator Password reset for server ==


To reset the administrator password for the FileZilla server, edit the ASCII file FileZilla Server.xml, usually located here:
To reset the administrator password for the FileZilla Server, edit the configuration file settings.xml.
 
If the FileZilla Server service program is running under the SYSTEM user (the default, unless chosen differently at installation time), the file is located here:
 
    C:\ProgramData\filezilla-server\settings.xml
 
Within that file, locate the section that looks like this:
        <!--Administration options.-->
        <admin>
                <local_port>14148</local_port>
                <password index="1">
                        <hash>...</hash>
                        <salt>...</salt>
                        <iterations>...</iterations>
                </password>
                <!-- Other stuff here... -->
        </admin>


    C:\Users\{username}\AppData\Roaming\FileZilla Server\            (Windows 10)
Remove the entry <password>...</password> and substitute it with <password index="0" />, like below:


The typical contents of this file:
         <!--Administration options.-->
         <FileZillaServer>
        <admin>
            <Settings>
                 <local_port>14148</local_port>
                 <Item name="User Sorting" type="numeric">0</Item>
                 <password index="0" />
                 <Item name="Last Server Address" type="string">localhost</Item>
                 <!-- Other stuff here... -->
                <Item name="Last Server Port" type="numeric">14147</Item>
         </admin>
                 <Item name="Last Server Password" type="string">''{your password here}''</Item>
                <Item name="Always use last server" type="numeric">0</Item>
            </Settings>
         </FileZillaServer>


Edit the line "<Item name="Last Server Password" type="string">''{your password here}''</Item>", replacing ''{your password here}'' with the new password.
Then restart the service. Next time you connect with the Administration Interface you won't need any password. As soon as you connect, set a new administration password using the proper configuration pane.

Latest revision as of 08:49, 14 September 2023

FileZilla Client - Recover lost passwords for sites[edit]

From the FileZilla client menu, click the File menu, then click Export. Click "Export site manager entries" and then click "OK". Save the file to somewhere you can easily find it, e.g. your default documents folder with a descriptive name and perhaps the date e.g. "FileZillaSites_2018-06-10.txt".

  Note: (This is also a handy way to back up your sites. If you name the file using '.xml' instead of '.txt', you will be able to re-import the file to other installations of the FileZilla client.)

Open the file with a text editor (e.g. Notepad, nano, etc.) and find the password(s) you're looking for.

FileZilla Server - Administrator Password reset for server[edit]

To reset the administrator password for the FileZilla Server, edit the configuration file settings.xml.

If the FileZilla Server service program is running under the SYSTEM user (the default, unless chosen differently at installation time), the file is located here:

   C:\ProgramData\filezilla-server\settings.xml

Within that file, locate the section that looks like this:

       <admin>
               <local_port>14148</local_port>
               <password index="1">
                       <hash>...</hash>
                       <salt>...</salt>
                       <iterations>...</iterations>
               </password>
       </admin>

Remove the entry <password>...</password> and substitute it with <password index="0" />, like below:

       <admin>
               <local_port>14148</local_port>
               <password index="0" />
       </admin>

Then restart the service. Next time you connect with the Administration Interface you won't need any password. As soon as you connect, set a new administration password using the proper configuration pane.