Anybody noticing where some (not all) sub FTP virtual users are having their home directory reset?
I don't have a ton of information regarding this - I just noticed it this morning. I suppose it could be something specific to me, but it seems to be happening on all of our servers.
Some users - but not all, which is really weird - appear to have their home directory reset.
For example, an entry in /etc/proftpd/%user% might have:
[email protected]:%hash%:%uid%:%gid%:%user%:/home/%user%/[email protected]:/bin/ftpsh
Which I believe should be:
[email protected]:%hash%:%uid%:%gid%:%user%:/home/%user%/subuser1:/bin/ftpsh
Something appears to be resetting the home directory for this FTP sub user from /home/%user%/subuser1 to /home/%user%/[email protected]
I really can't be certain that the home directories are set wrong... but this seems to be prevalent on multiple servers - so that kind of tells me that something is changing the home directories and I don't think it's the end users.
To see if you have any FTP sub users that have their home directory set to a directory containing an @ symbol use:
cat /etc/proftpd/* | awk -F ":" '{print $6}' | grep @
(Although this doesn't necessarily mean those users are wrong... they may have intentionally set their home directory to use an @ symbol)
This is on cPanel 11.78.0.24
I don't have a ton of information regarding this - I just noticed it this morning. I suppose it could be something specific to me, but it seems to be happening on all of our servers.
Some users - but not all, which is really weird - appear to have their home directory reset.
For example, an entry in /etc/proftpd/%user% might have:
[email protected]:%hash%:%uid%:%gid%:%user%:/home/%user%/[email protected]:/bin/ftpsh
Which I believe should be:
[email protected]:%hash%:%uid%:%gid%:%user%:/home/%user%/subuser1:/bin/ftpsh
Something appears to be resetting the home directory for this FTP sub user from /home/%user%/subuser1 to /home/%user%/[email protected]
I really can't be certain that the home directories are set wrong... but this seems to be prevalent on multiple servers - so that kind of tells me that something is changing the home directories and I don't think it's the end users.
To see if you have any FTP sub users that have their home directory set to a directory containing an @ symbol use:
cat /etc/proftpd/* | awk -F ":" '{print $6}' | grep @
(Although this doesn't necessarily mean those users are wrong... they may have intentionally set their home directory to use an @ symbol)
This is on cPanel 11.78.0.24