help use gedit to edit server files
Amedee Van Gasse (ub)
amedee-ubuntu at amedee.be
Thu Apr 22 07:50:00 UTC 2010
On Thu, April 22, 2010 01:29, Luis Paulo wrote:
> On Wed, Apr 21, 2010 at 8:43 PM, Colin Law <clanlaw at googlemail.com> wrote:
>> I think that is what the OP is doing, but the problem is that he
>> cannot edit files that require sudo to edit them.
> Right, for those you'll have to log as a user with write permissions
> For example, log as root
I disagree with the login as root.
It is a common configuration of SSH to disable root login.
Another alternative has already been given: edit the file with nano.
Other console editors are vi(m) and emacs. They are more powerfull than
nano, even more powerfull than gedit, but they have a learning curve.
I won't go into the traditional vi/emacs editor wars, because I am a nano
More information about the ubuntu-users