AT2k Design BBS Message Area
Casually read the BBS message area using an easy to use interface. Messages are categorized exactly like they are on the BBS. You may post new messages or reply to existing messages! You are not logged in. Login here for full access privileges. |
Previous Message | Next Message | Back to Computer Support/Help/Discussion... <-- <--- | Return to Home Page |
|
||||||
From | To | Subject | Date/Time | |||
![]() |
Warpslide | All | Re: proftpd logout |
January 14, 2025 5:28 PM * |
||
On 11 Jan 2025, Warpslide said the following... Wa> I opted for proftpd as well and use its "virtual user" functionality. [...] Wa> I still need to find a way to create a semaphore file when someone logs Wa> out of proftd. There is an "ExecOnExit" but these are limited to the Wa> user's chrooted path. In case someone else finds this useful, I asked ChatCPT to help me with a script to run some commands when specified users log out of the proftpd server. It seems to work well enough but hasn't been battle tested as of yet: [-- begin monitor_ftp_log.sh --] #!/bin/bash # Path to the log file LOG_FILE="/var/log/proftpd/proftpd.log" # Declare an associative array to store user login info (PID -> User) declare -A user_sessions # List of specific users to monitor MONITORED_USERS=("node23" "node99" |
||||||
|
Previous Message | Next Message | Back to Computer Support/Help/Discussion... <-- <--- | Return to Home Page |
![]() Execution Time: 0.0161 seconds If you experience any problems with this website or need help, contact the webmaster. VADV-PHP Copyright © 2002-2025 Steve Winn, Aspect Technologies. All Rights Reserved. Virtual Advanced Copyright © 1995-1997 Roland De Graaf. |