How to configure the vsftpd to maintain the last login information at Red Hat Enterprise Linux 7 and 8
Issue
- Configure the
vsftpd
to display the user session information underlastlog
command output as below.
# lastlog -u testuser
Username Port From Latest
testuser ftp localhost Thu Jul 22 13:24:31 -0400 2021
Environment
- Red Hat Enterprise Linux (RHEL) 7
- Red Hat Enterprise Linux (RHEL) 8
- vsftpd
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.