.ftpaccess
does not work recursively - it should be tested and verified. I'm under an impression it works recursively at least for ProFTPd./home/username/
i.e. /home/username/.ftpaccess
and disable main FTP account there. And you will need to make the file inaccessible from secondary FTP accounts, otherwise they might overwrite it. I.e. secondary FTP account will need to be pointed one or several folders deeper in the disk structure from the user's homedir /home/username/
. .ftpaccess
file in that directory:<Limit ALL>
DenyUser restricted_user_1,restricted_user_2
</Limit>
.ftpaccess
files do not work recursively, you will need to add a separate .ftpaccess
file to all directories where you wish the custom FTP configuration to take effect. <-- TEST IT FIRST.ftpaccess
file in that directory:<Limit ALL>
AllowUser allowed_user_1,allowed_user_2
DenyAll
</Limit>
.ftpaccess
files do not work recursively, you will need to add a separate .ftpaccess
file to all directories where you wish the custom FTP configuration to take effect. <-- TEST IT FIRSTI don't know the reason, but alternatively you could also just use some impossible strong password for that and just not give the password to anybody. Nobody can use it then.One of our clients wants to disable ftp access for his main user account
But then the user can't access his directadmin either.I don't know the reason, but alternatively you could also just use some impossible strong password for that and just not give the password to anybody. Nobody can use it then.
No. I don't know how this is done in Evo skin. But in Enhanced skin, you can change the FTP password and de-select the Directadmin password, just as admin and reseller can and then only the FTP password is changed.But then the user can't access his directadmin either.
But then the user can't access his directadmin either.
How about what I just wrote, unselecting changing the DA password? Why is that not visible in Evo anymore like in Enhanced?The Richard's solution can work for you too.
How about what I just wrote, unselecting changing the DA password?
I understand. But it is still possible right? That's why I'm wondering why this option is working, but seems missing from Evo skin (unless I don't look correctly).that's why I personally don't like this approach.
But it is still possible right?
I can change a main FTP password via Enhanced by de-selecting directadmin password in that page. Did they remove that option in Evo?One can use CLI/SSH to update/lock a FTP password for an account.
Did they remove that option in Evo?
Thank you. I just wanted the confirmation that it was not mee just not seeing it through all the options but it's indeed not present.One thing I'm sure about, is that Evo skin does not have the option on the user level.
Yes me2. Because in some cases for admin or reseller this is a nice option.I want this feature back though..
Change main ftp account password with DA password. This will keep the 2 passwords in sync. Ability to change the ftp password independently will remain, so the user can still use a different ftp password if he/she wishes. If they want to do that and they change their DA pass, then they'll need to reset the ftp password to the different value.
In Evo that links to the users password section if I'm correct, so that would be both DA & FTP.to change the main ftp user pw in the ftp management?
then its even more confusingIn Evo that links to the users password section if I'm correct, so that would be both DA & FTP.
Thanks for the info. Disabling the main ftp account, just as you can do with additional ftp accounts, would be the best option.No. I don't know how this is done in Evo skin. But in Enhanced skin, you can change the FTP password and de-select the Directadmin password, just as admin and reseller can and then only the FTP password is changed.
I don't see an option to deselect Directadmin in Evo skin, either it's missing or I don't see it, I normally don't use Evo. Just because of these things.