Results 1 to 4 of 4

Thread: Default text Editor On cPanel 11

  1. #1
    aisagtr
    Guest

    Default Default text Editor On cPanel 11

    Whenever I do a crontab -e, I always see teh VI editor instead of the nano which I have installed.

    Anyone any idea as to how to change this? I hate VI.

  2. #2
    Super Moderator This forum account has been confirmed by cPanel staff to represent a vendor. chirpy's Avatar
    Join Date
    Jun 2002
    Location
    Go on, have a guess
    Posts
    13,496

    Default

    For the root account only, edit /root/.bashrc and add the lines:

    export EDITOR="nano"
    export VISUAL="nano"


    For all users, add those lines to /etc/bashrc
    Jonathan Michaelson

    Need your cPanel servers secured and tuned?
    cPanel Server Configuration, Security, Recovery and Antivirus/AntiSpam Services
    Developers of the most effective (and free) Firewall & Security Solution for cPanel Servers - csf
    http://www.configserver.com

  3. #3
    Registered User smile's Avatar
    Join Date
    Oct 2004
    Posts
    70

    Default

    Is their any restart required after this, I tried and it still doesn't works

  4. #4
    Member DeepakW's Avatar
    Join Date
    Nov 2005
    Posts
    33

    Default

    Hi,

    I think no need to restart any service just logout from the current SSH session and
    login again. Now check it again, it should be working.

    Please make sure you are making the changes for the user which you are using to
    access SSH.

Similar Threads

  1. How to allow Word Wrap in File Manager > Code Editor or Text Editor?
    By sneader in forum cPanel & WHM Discussions
    Replies: 7
    Last Post: 07-29-2011, 11:26 AM
  2. Cpanel Issue -- Huge Text for the Text Editor
    By buckshot101 in forum cPanel & WHM Discussions
    Replies: 8
    Last Post: 07-15-2011, 09:38 AM
  3. Text editor in cPanel Error Page Manager
    By jhyland87 in forum cPanel Developers
    Replies: 3
    Last Post: 06-06-2009, 06:12 PM
  4. NEW text editor in RHEL 3.0!!
    By Go2reg in forum cPanel & WHM Discussions
    Replies: 3
    Last Post: 01-17-2004, 06:52 AM
  5. Problem with spaces in the text editor
    By e_host123 in forum cPanel & WHM Discussions
    Replies: 2
    Last Post: 02-21-2003, 07:35 PM