No Users & Groups kcontrol module...?
Christopher J. Bottaro
cjbottaro at alumni.cs.utexas.edu
Mon Jun 19 16:46:44 UTC 2006
Matthew Kuiken wrote:
> Christopher J. Bottaro wrote:
>> Hello again,
>>
>> I installed Kubuntu-6.06 (KDE-3.5.2), logged in as root, added a user
>> (useradd cjb), made a home dir for him (mkdir /home/cjb), added him to a
>> couple of groups (usermod -Ga users,audio), fixed his permissions (chown
>> -R cjb.users /home/cjb).
>>
>> Then I logged into KDE as him, and tried to add another user using System
>> Settings -> System Administration -> Users & Groups.
>>
>> I got an error "The module Users & Groups could not be loaded." Here's a
>> screen shot: http://i5.tinypic.com/14vjic5.png
>>
>> I also upgraded to KDE-3.5.3 and still experienced the same problem.
>>
>> Any ideas? Thanks for the help.
>>
>
> As the error pic shows, adding users and groups is an administrator
> task. You either have to be root, or run as root by using sudo.
>
> Since you mentioned logging in as root, I'm going to assume that you did
> the expert install, and so don't have an admin group set up to be sudoers.
>
> As root, edit the /etc/sudoers file to add the admin group. My file
> (default from install) looks like this:
>
> -----------------
> # /etc/sudoers
> #
> # This file MUST be edited with the 'visudo' command as root.
> #
> # See the man page for details on how to write a sudoers file.
> # Host alias specification
>
> # User alias specification
>
> # Cmnd alias specification
>
> # Defaults
>
> Defaults !lecture,tty_tickets,!fqdn
>
> # User privilege specification
> root ALL=(ALL) ALL
>
> # Members of the admin group may gain root privileges
> %admin ALL=(ALL) ALL
> ------------
>
> You will also need to create the admin group if it does not already
> exist, and add your user to it. You could also add your user directly to
> the sudoers file.
>
> Placing your user in the sudoers group will allow you to use the
> "Administrator Mode" button to perform admin tasks in KDE. It will
> prompt you for your *user* password to control access to the mode.
>
> For more reference material, please refer to:
>
> https://wiki.ubuntu.com/RootSudo
>
> Sudo can also be used to limit the actions a user can perform as root.
> See man sudo for details.
>
> -Matt
Negative. Look at other kcontrol modules that require root privs. The
module still shows up, just greyed out a little bit. You don't get "module
can't be loaded" errors.
Also, to be complete, my sudoers file is setup correctly and when I do hit
the "Administration Mode" button, kdesu comes up, I enter in my password,
and the "Changes in this section require root access." message dissappears,
but the "Module can't be loaded" error remains.
I appreciate your suggestion though.
More information about the kubuntu-users
mailing list