Results 1 to 5 of 5

Thread: Open as Administrator

  1. #1

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

  2. #2
    Join Date
    Jul 2008
    Location
    Seattle, WA
    Posts
    17,048

    Default Re: Open as Administrator

    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

  3. #3
    Join Date
    Jun 2008
    Location
    Earth - Denmark
    Posts
    10,730

    Default Re: Open as 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

  4. #4

    Default Re: Open as Administrator

    Quote Originally Posted by hendersj View Post
    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
    I am using Gnome and trying to edit modprobe.d and its not working

  5. #5
    Join Date
    Jun 2008
    Location
    Earth - Denmark
    Posts
    10,730

    Default Re: Open as Administrator

    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

    Code:
    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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •