I've been running a server with cPanel on it for about a year.
On my older accounts, the default editor through SSH is VI editor.
On newer accounts, the default editor is Nano. I have no idea why it's different for the newer accounts, but I wish that it wasn't.
I first discovered this when trying to create crontab entries on the new accounts using crontab -l.
The problem is that when I go to save my new crontab entries, I hit Control X and then it asks me if I want to save the file, I say Yes, and it tries to save the file with a tmp file name in the /tmp directory.
Do anyone have any suggestions on how I can change the default editor for the new accounts permanently to VI.
Secondly, is there any explanation on why this has changed only for the newer accounts? Is it safe to assume that it has something to do with the skeleton directory that was probably updated by a cpanel update?
Thanks.
On my older accounts, the default editor through SSH is VI editor.
On newer accounts, the default editor is Nano. I have no idea why it's different for the newer accounts, but I wish that it wasn't.
I first discovered this when trying to create crontab entries on the new accounts using crontab -l.
The problem is that when I go to save my new crontab entries, I hit Control X and then it asks me if I want to save the file, I say Yes, and it tries to save the file with a tmp file name in the /tmp directory.
Do anyone have any suggestions on how I can change the default editor for the new accounts permanently to VI.
Secondly, is there any explanation on why this has changed only for the newer accounts? Is it safe to assume that it has something to do with the skeleton directory that was probably updated by a cpanel update?
Thanks.