View Full Version : can't access /boot/grub/menu.lst
dema
August 27th, 2006, 06:40 AM
I can't edit /boot/grub/menu.lst because i'm not a admin-user.
How can I login as admin to edit this file? I'm using grub.
amo-ej1
August 27th, 2006, 07:00 AM
you can use sudo to raise your privileges e.g.
sudo vi /boot/grub/menu.lst
(but this does depend on you /etc/sudoers configuration) or you could use su if you have a root password set. But this only works if this is your own box and you have configured it as such. The entire privilege system was invented to keep people from doing things they shouldn't be doing ;-)
dema
August 27th, 2006, 07:17 AM
Can't I edit it from Gnome?
dema
August 27th, 2006, 09:12 AM
Can I only edit a write-protected file from the terminal?
Klaidas
August 27th, 2006, 09:27 AM
You can only edit it as root. See http://wiki.ubuntu.com/RootSudo
sudo gedit /boot/grub/menu.lst
In other news, this is not related to art :)
Please take some time to find an appropriate subforum before posting.
vBulletin® v3.7.4, Copyright ©2000-2008, Jelsoft Enterprises Ltd.