I am use to open files that I need to edit as root just by opening as administrator. I have switched from Linux mint to openSUSE but I’m having great difficulty just adjusting the blacklist conf file. This is annoying as I need to change it so I can get online. Is there a quick way to open permission temporarily as root so I can adjust files.
On Mon, 28 Jun 2010 16:56:02 +0000, randomvector wrote:
> Hello,
>
> I am use to open files that I need to edit as root just by opening as
> administrator. I have switched from Linux mint to openSUSE but I’m
> having great difficulty just adjusting the blacklist conf file. This is
> annoying as I need to change it so I can get online. Is there a quick
> way to open permission temporarily as root so I can adjust files.
You don’t say whether you’re using KDE or GNOME, but you can run any
command as root using either kdesu or gnomesu.
randomvector wrote:
> I am using Gnome and trying to edit modprobe.d and its not working
modprobe.d is not a file, it is a directory so it can’t be
edited…you said earlier you wanted to adjust your blacklist, if you
are sure of that then you have to use the correct format to get
there…try
gnomesu -c 'gedit /etc/modprobe.d/blacklist'
if it is blacklist you want to edit…when finished editing with
gedit then save and close gedit first, then the terminal…