jlandes
Verified User
You can add files to the admin file editor by editing the file /usr/local/directadmin/data/templates/edit_files.txt. See http://www.directadmin.com/features.php?id=576 for more information.
cd /usr/local/directadmin/data/templates/
cp edit_files.txt custom/
cd custom
echo "/etc/hosts.deny=user=root&group=root&permission=644
/etc/hosts.allow=user=root&group=root&permission=644" >> edit_files.txt