How to display on the webpage, how many users are logged in with FTP currently. I know that this data is in some kind of log file but how can I read it out with PHP and what kind of permissions does this operation require?
Oooh There is manny manny ftp servers out there for win and linux.... They are all working deferent, so it's damn hard to tell you...
You would only need read permissions, and check the FTP server documentation, or ask your hosting provider about where the log file is stored.
My operating system is Linux Redhat 8, so I will need some extra permissions for that?
No, you just need to find the log file, set read permissions for everyone, and you're set to read from your PHP script.