changing menu.lst permissions

Brian Pitts brian at polibyte.com
Wed Oct 31 00:05:52 GMT 2007


Mark Huguet wrote:
> you can edit the grub menu by typing
> sudo gedit /boot/grub/menu.lst
> into the terminal, also, I think automatix has some nautilus scripts, 
> one of which allows you to edit files as root.
> 
> Mark

Here's a script that lets you edit files as root.

#!/bin/sh
IFS="
"
for I in $NAUTILUS_SCRIPT_SELECTED_FILE_PATHS
do
   gksu gnome-text-editor $I &
done
exit

Explanation at http://polibyte.com/blog/edit_file_as_root_from_nautilus

-Brian



More information about the Ubuntu-us-ga mailing list