Editor can't edit
alex
radsky at ncia.net
Mon Dec 6 14:03:46 UTC 2004
Wander Boessenkool wrote:
>On Mon, 2004-12-06 at 08:17 -0500, alex wrote:
>
>
>>UBUNTU installed very easily and looks like it has a lot of potential
>>but I'm wondering , is there a super-duper user
>>hidden somewhere? Super user can't even make an editor, edit. If
>>
>>
>
>Yes! He's called 'root'
>
>If you're looking for a graphical editor, try 'gksudo gedit'
>
>gksudo is for launching graphical-programs with root-privileges, but in
>_your_ desktop.
>
>If you want something from the command-line try somethng like:
>
>$sudo vi /boot/grub/menu.lst OR
>$sudo emacs /boot/grub/menu.lst OR
>$sudo nano /boot/grub/menu.lst Etc...
>
>Just pick your favorite editor (vi), and remember that sudo is for
>cli-programs, gksudo for gui-programs.
>
>
>Or maybe your /boot partition is mounted read-only check the output from
>'mount' and if /boot has something like:
>
>/dev/hda1 on /boot type ext2 (ro)
>
>edit your /etc/fstab and change the 'ro' there into 'rw', remount /boot
>(umount /boot && mount /boot) and try again... (you can always change
>it back to read-only later)
>
>There are even far more possibilities than this, but I think I've
>covered the most common ones, if not drop me line and we'll start lsattr
>and the likes...
>
>
Thanks for all the info. I'll check this out.. The trouble may not be
with the editor, it may be that
menu.lst is locked for some reason..
alex, the OF
More information about the ubuntu-users
mailing list