• We value your experience with Plesk during 2025
    Plesk strives to perform even better in 2026. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2025.
    Please take this short survey:

    https://survey.webpros.com/
  • On Plesk for Linux mod_status is disabled on upgrades to improve Apache security.
    This is a one-time operation that occurs during an upgrade. You can manually enable mod_status later if needed.

Question var/log/wtmp.db created in httpdocs after FTP login

JVG

Basic Pleskian
Server operating system version
Debian 13.3
Plesk version and microupdate number
Plesk Obsidian 18.0.75.0
Hi,

I have a new Debian 13 server and I'm preparing a Wordpress site and created an additional FTP user with home directory httpdocs

I've noticed that when that additional FTP user logs in it creates this directory in the virtual host document root: mysite/httpdocs/var/log/wtmp.db

The wtmp.db file is empty

I've tested the same configuration on Debian 12.13+Obsidian 18.0.74#3 and it doesn't create anything on the document root.

Is this expected behavior?
 
Upon further testing, it seems the problem is with the Service Plan. It was migrated from a Debian 12.13+Obsidian 18.0.74#3 server (tested there, no file created)

Switching it to "Default Domain" on the new server for the domain prevents it from creating that file in the document root.
 
Upon more testing, scratch my last post.

I set up a test server from scratch:
Product version: Plesk Obsidian 18.0.75.0
OS version: Debian 13.3 x86_64

Created a domain, created an additional FTP account with home directory httpdocs and the file was created after closing the FTP session (i used filezilla in windows):
Code:
-rw-r--r-- 1 mysite_243tghetj6j psacln 0 ene 27 11:38 /var/www/vhosts/mysite/httpdocs/var/log/wtmp.db
 
Hi, @JVG . Are you using FTP or SFTP? If SFTP, does the subscription in question have chrooted SSH access? The file in question is not related to FTP and I do not believe closing the connection should have any relation to it.
 
Back
Top