File Editor always in root

MacWeb

Verified User
Joined
Aug 22, 2012
Messages
24
CentOS 6.2
Direct Admin v 1.41.1

Hi,

I migrate from Plesk to DA and I am having a lot of fun but I now run into this issue.

Initially the DA File Editor was working correctly after "Show File" it load the file and if I need to edit I need to enter the root password.

Now when I login the File Editor is always as root no root password is asked.

Anybody knows how to make DA File Editor ask again the root ?

Thanks in advance
 
Do you mean the file editor only available under admin, or the file editor shown for every login?

I've never seen either ask for root password. What file are you trying to edit?

Jeff
 
Hello,

Code:
cd /usr/local/directadmin/data/templates/custom/
test -e edit_files.txt && mv -v edit_files.txt edit_files.txt.moved

or/and set it to default state of /usr/local/directadmin/data/templates/edit_files.txt

Code:
/usr/local/directadmin/data/admin/ip_blacklist=user=root&group=root&permission=644
/usr/local/directadmin/data/admin/ip_whitelist=user=root&group=root&permission=644
/etc/ssh/sshd_config=user=root&group=root&permission=644&secure=yes
/etc/httpd/conf/httpd.conf=user=root&group=root&permission=644
/usr/local/lib/php.ini=user=root&group=root&permission=644
/usr/local/etc/php5/cgi/php.ini=user=root&group=root&permission=644
/etc/exim.conf=user=root&group=root&permission=644
/etc/dovecot/dovecot.conf=user=root&group=root&permission=644
/etc/proftpd.conf=user=root&group=root&permission=644
/etc/hosts.allow=user=root&group=root&permission=644
/etc/hosts.deny=user=root&group=root&permission=644
/etc/proftpd.vhosts.conf=user=root&group=root&permission=644
/usr/local/directadmin/conf/directadmin.conf=user=diradmin&group=diradmin&permission=600&secure=yes
/usr/local/directadmin/data/templates/edit_files.txt=user=root&group=root&permission=644&secure=yes
 
Thanks a lot Alex an Jeff,

Now I do understand that it´s working as it should.

I just detect that some files don´t need the root password to edit, witch is normal.

Regards
Anthony
 
Back
Top