DirectAdmin + CSF: Permission denied [User: admin UID: 501]
DirectAdmin + CSF: Permission denied [User: admin UID: 501]
After updating CSF to v7.0.3, i get error in DirectAdmin Control Panel/CSF: Permission denied [User: admin UID: 501].
Reinstall of CSF is the simple solution, but not the best.
Is there a good solution? Changing file or folder permissions for example?
Reinstall firewall gives opportunity for hacking..because:
1. No firewall is not good at all.
2. There is a few minutes time to hack your server. (FAST_START solves this normally)
2. clean install is default in Testing Mode for example.
Reinstall of CSF is the simple solution, but not the best.
Is there a good solution? Changing file or folder permissions for example?
Reinstall firewall gives opportunity for hacking..because:
1. No firewall is not good at all.
2. There is a few minutes time to hack your server. (FAST_START solves this normally)
2. clean install is default in Testing Mode for example.
-
- Moderator
- Posts: 1524
- Joined: 01 Oct 2008, 09:24
Re: DirectAdmin + CSF: Permission denied [User: admin UID: 5
The C wrapper that cxs uses checks for the existence of the logged in user (admin) in /usr/local/directadmin/data/admin/admin.list which should be chmod 600 and have an owner of the directadmin main user account (i.e. diradmin:diradmin). You should also ensure that /usr/local/directadmin/data/admin/admin.list has Linux line endings, not Windows or Mac ones.
Re: DirectAdmin + CSF: Permission denied [User: admin UID: 5
Is this a bug? Because it is not the first time that i get this error after a CSF update.
-
- Moderator
- Posts: 1524
- Joined: 01 Oct 2008, 09:24
Re: DirectAdmin + CSF: Permission denied [User: admin UID: 5
Is what a bug? I provided a description of what the C wrapper is trying to do and failing on your server - you need to investigate that. We've not seen any issues with the wrapper on DA servers, and not been able to recreate any problems.
Re: DirectAdmin + CSF: Permission denied [User: admin UID: 5
I think it is a problem on my webserver, but i can't check it anymore because of the clean install.
Now the file admin.list have chmod 600, ownership diradmin:diradmin. And admin in the file.
I go check the next time, thanks for support!
Now the file admin.list have chmod 600, ownership diradmin:diradmin. And admin in the file.
I go check the next time, thanks for support!
Re: DirectAdmin + CSF: Permission denied [User: admin UID: 5
I have the same issue today. I have checked and chmod is 600 and ownership is diradmin:diradmin. In the file is the word: admin.
Yesterday i have upgraded PHP 5.4 to 5.5 by using DirectAdmin Custombuild script. And after that rebuild all.
Yesterday i have upgraded PHP 5.4 to 5.5 by using DirectAdmin Custombuild script. And after that rebuild all.
Re: DirectAdmin + CSF: Permission denied [User: admin UID: 5
I have tried this: http://syslint.com/syslint/csf-directad ... 01-solved/
But now i get a blank page, no Permission Denied error.
But now i get a blank page, no Permission Denied error.
Re: DirectAdmin + CSF: Permission denied [User: admin UID: 5
These commands will solve issue, I know this is old topic but as google is showing this page first for solution so sharing it
Code: Select all
chown root /usr/local/directadmin/plugins/csf/exec/csf
chmod 4755 /usr/local/directadmin/plugins/csf/exec/csf
Re: DirectAdmin + CSF: Permission denied [User: admin UID: 5
After an upgrade of CSF, the permissions are also fixed.
Re: DirectAdmin + CSF: Permission denied [User: admin UID: 5
There was no update available for me and yup update can solve problem and you can do force update but these commands can save your time :-)