KUser broken when used from Gnome or Unity

Bug #269196 reported by Jordan Erickson
14
This bug affects 1 person
Affects Status Importance Assigned to Milestone
kdeadmin (Ubuntu)
Confirmed
Low
Unassigned
lightdm (Ubuntu)
New
Undecided
Unassigned

Bug Description

I like to use KUser to manage users/groups. However, the default package installation and subsequent launch via Gnome Applications -> System Tools -> KUser menu results in the following error: "Cannot open /etc/shadow for reading". It does not ask for my password, rather attempts to launch without escalating my privileges:

The default "exec= " line in /usr/share/applications/kde/kuser.desktop is:
Exec=kuser %i %m -caption "%c"

I must modify the default /usr/share/applications/kde/kuser.desktop "exec= " line to reflect the following to get it to work:
Exec=gksudo kuser

I'm guessing the default "exec= " line reflects variables present only in a KDE session, although this is just a guess.

Revision history for this message
Jordan Erickson (lns) wrote :
Revision history for this message
Jordan Erickson (lns) wrote :

I should also add that following the error, it *does* allow me into the program, acts as if I'm able to make changes to users and groups, but does not actually commit them. Very confusing to someone that might not otherwise know something is wrong when they can't modify /etc/shadow.

Changed in kdeadmin:
importance: Undecided → Low
status: New → Confirmed
Revision history for this message
Rafael Belmonte (eaglescreen) wrote :

This happens because Kuser is launched without administrator privileges.

summary: - KUser broken when used from Gnome
+ KUser broken when used from Gnome or Unity
Revision history for this message
Sachin Sharma (sachin-sharma) wrote :

Till permanent solution is found, A workaround will be highly appreciated.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.