Show recent vsftpd service logs
Build a paste-ready command, then review its compatibility and effects before running it.
journalctl -u vsftpd --since '1 hour ago' --no-pagerread-onlyrequires privileges Compatibility
LinuxVerified for Linux using posix, bash, zsh syntax.
Operational knowledgereview due 2027-01-19
Requirementsjournalctljournalctl must be installed and available on PATH.Elevated accessReview the exact scope before using an elevated account.
Version supportjournalctl Current supported releasesVerified for linux using posix, bash, zsh syntax; consult compatibility notes for platform-specific differences.
Expected signalsJul 23 09:51:18 ftp01 vsftpd[3192]: CONNECT: Client "203.0.113.42"Representative successful output; values vary with the selected target and system state.
Known errorsjournalctl: command not foundjournalctl is missing or is not available on PATH.Permission deniedThe current identity does not have the required access.
Verifyjournalctl -u vsftpd --since {{since}} --no-pagerThe output matches the expected target and exits without an error.Rollback noteNo universal automatic rollback is available. Capture the current state and use the tool-specific recovery procedure before applying changes.
Command breakdown
01journalctlCommandRuns the journalctl stage of this one-liner.
02-uOptionRestricts journal records to the named systemd unit.
03vsftpdArgumentPasses vsftpd to journalctl.
04--sinceOptionLimits results to entries after the supplied time.
05<since>ParameterA value supplied in the Fill parameters section.
06--no-pagerOptionPrints directly instead of opening an interactive pager.
Example input
journalctl -u vsftpd --since '1 hour ago' --no-pager
Example output
Jul 23 09:51:18 ftp01 vsftpd[3192]: CONNECT: Client "203.0.113.42"
Jul 23 09:51:21 ftp01 vsftpd[3192]: OK LOGIN: Client "203.0.113.42", anon password "alice@example.com"
Illustrative output — exact values vary by system and data.
Official sources
Related commands