Announcement

Collapse
No announcement yet.

System Settings and Administrator Mode

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    System Settings and Administrator Mode

    I'm having a problem with System Settings in 9.04. I can't change or even access most settings through the System Settings app, and this seems to be due to a lack of administrator privileges. Specifically, I'm trying to configure samba in System Settings, but don't have access to even view any of the privileged settings. I've tried searching and it seems that there used to be an Administrator Mode button that was used in this interface, and was slightly buggy, but this button is completely gone now. However which way I try to run System Settings with administrator privileges (sudo, gksu, kdesudo, etc) it seems that the app runs the top-level of System Settings with Administrator Mode, but that it opens up a new window inside of itself for each individual app's settings and that new window never has root access.

    I can't even find a workaround at this point. I just want to configure samba (and ideally all my system settings).

    I've heard that there might be an issue with a missing entry from the /etc/sudoers file. I've looked there and there is no entry specifically with my user name and while I do not know the protocol of the file at all, that might be a problem. I'm having a hard time finding an explanation for this or what I might be missing specifically, and this is on a new install, never having touched any of these settings before.

    Any help would be appreciated.

    #2
    Re: System Settings and Administrator Mode

    you will need to sudo to even see the /etc/sudoers file.
    It should have an entry like this:
    Code:
    # Members of the admin group may gain root privileges
    %admin ALL=(ALL) ALL
    Then you need to make sure you as a user are a member of the admin group. To do that, you will need to hit ALT-F2 and enter
    Code:
    kdesudo kuser
    Check the groups and make sure you are in admin.

    If that doesn't fix it, it's not a sudo problem. Check and make sure that everything in your ~/.kde directory belongs to you. Just to make sure, you can:
    Code:
    cd ~
    sudo chown -R yourusername:yourusername .kde
    Sudo can do weird things with permissions sometimes.
    I had a similar problem, but an upgrade eventually fixed it. Not real good news if it's happening at this stage of the game.

    I don't know the name of the samba setup app, but if you can find it, you can probably run it with sudo or kdesudo directly.
    We only have to look at ourselves to see how intelligent life might develop into something we wouldn't want to meet. -- Stephen Hawking

    Comment


      #3
      Re: System Settings and Administrator Mode

      Except it he does not have sudo he can not run "kdesudo kuser". It will probably fail silently. However, he can open konsole and run id to see which group she is in.

      That would be ALT-F2
      konsole
      to get a terminal and then
      id

      Comment


        #4
        Re: System Settings and Administrator Mode

        Thanks for the reply. My user is a member of the admin group.

        It turns out the problem was that python was trying to import gtk.glade and couldn't find it. Adding the glade package didn't fix the problem immediately. I specifically needed the python-glade2 package. This lets me actually run the system-config-samba app, but I'm still unable to configure samba (or many other apps) from System Settings.

        Comment


          #5
          Re: System Settings and Administrator Mode

          I am wondering why it is calling for python-glade2, as that is a gtk (non-kde) library

          I don't have a samba section in system settings on either of my machines

          Comment

          Working...
          X