Editor can't edit

Wander Boessenkool wander at tomaatnet.nl
Mon Dec 6 18:41:53 UTC 2004


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...


-- 
***********************DISCLAIMER**********************
Indien u de inhoud van dit bericht reeds vergeten bent,
kunt u deze disclaimer als niet geschreven beschouwen.
***********************DISCLAIMER**********************
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20041206/fc5ca608/attachment.sig>


More information about the ubuntu-users mailing list