Results 1 to 4 of 4

Thread: File Editor always in root

  1. #1
    Join Date
    Aug 2012
    Posts
    24

    File Editor always in root

    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

  2. #2
    nobaloney's Avatar
    nobaloney is offline NoBaloney Internet Svcs - In Memoriam †
    Join Date
    Jun 2003
    Location
    California
    Posts
    26,123
    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
    +1 951 643-5345
    Third-Party DirectAdmin administration and support
    Dedicated Servers, Dedicated Reseller Accounts
    NoBaloney Internet Services div. Qnito Incorporated
    848 North Rainbow Blvd., Suite #3789
    Las Vegas, NV 89107-1103

  3. #3
    Join Date
    Apr 2005
    Location
    GMT +7.00
    Posts
    11,023
    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
    With regards, Alex.

    Professional Server Management for web hosting companies and individuals
    Hourly Support, Disaster Recovery, Server Hardening, Monthly Subscription
    Directadmin installation and optimization

    Click here if you need a Linux Admin

  4. #4
    Join Date
    Aug 2012
    Posts
    24
    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

Similar Threads

  1. File editor
    By RenDprogrammeur in forum Installation / System Requirements
    Replies: 11
    Last Post: 02-12-2015, 08:24 AM
  2. IP Blacklist on File Editor
    By edjones in forum General Technical Discussion & Troubleshooting
    Replies: 3
    Last Post: 11-10-2012, 10:30 AM
  3. how to add abc.cf file in File editor of directadmin control panel
    By bmahesh in forum Admin-Level Difficulties
    Replies: 1
    Last Post: 11-18-2006, 03:38 AM
  4. DA Editor to allow more file extensions
    By kenlyle in forum Feedback & Feature Requests
    Replies: 0
    Last Post: 10-11-2006, 07:23 AM
  5. Admin Level -> File Editor (Editor is HUGE)
    By Spook in forum Feedback & Feature Requests
    Replies: 0
    Last Post: 09-22-2006, 02:14 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •