Open as Administrator

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.

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.

I use GNOME and know the command is:

gnomesu -c ‘gedit /etc/fstab’

(for example)

For KDE it’ll be similar.

Jim


Jim Henderson
openSUSE Forums Administrator

Jim Henderson wrote:
> For KDE it’ll be similar.

@randomvector
[COPY]
kdesu kate
[/COPY]

will work in KDE…

do NOT log into KDE, Gnome, XFCE or etc as root/superuser


DenverD (Linux Counter 282315)
CAVEAT: http://is.gd/bpoMD
posted via NNTP w/TBird 2.0.0.23 | KDE 3.5.7 | openSUSE 10.3
2.6.22.19-0.4-default SMP i686
AMD Athlon 1 GB RAM | GeForce FX 5500 | ASRock K8Upgrade-760GX |
CMedia 9761 AC’97 Audio

I am using Gnome and trying to edit modprobe.d and its not working

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…

let us know if that works ok for you…


DenverD (Linux Counter 282315)
CAVEAT: http://is.gd/bpoMD
posted via NNTP w/TBird 2.0.0.23 | KDE 3.5.7 | openSUSE 10.3
2.6.22.19-0.4-default SMP i686
AMD Athlon 1 GB RAM | GeForce FX 5500 | ASRock K8Upgrade-760GX |
CMedia 9761 AC’97 Audio