Bug 183245 - your administrator has disallowed changing your image
Summary: your administrator has disallowed changing your image
Status: RESOLVED FIXED
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_useraccount (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Frans Englich
URL:
Keywords:
: 192279 208334 221463 283515 300436 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-02-05 00:08 UTC by Yannick Bruneau
Modified: 2012-08-29 22:51 UTC (History)
14 users (show)

See Also:
Latest Commit:
Version Fixed In: 4.8


Attachments
systemsettings about me - changing image message (67.58 KB, image/png)
2009-02-05 00:09 UTC, Yannick Bruneau
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Yannick Bruneau 2009-02-05 00:08:13 UTC
Version:           inconnu (using 4.2.00 (KDE 4.2.0), Kubuntu packages)
Compiler:          cc
OS:                Linux (i686) release 2.6.27-11-generic

Under Systemsettings, "About me" section.

When i click on the image icon on the left of the user logon name (i have no image), a message appears :
"Your administrator has disallowed".

I have the exactly same message when i try the same thing as root with the root account.

I don't know if its KDE 4.2, Kubuntu, or the Linux kernel bug. I guess its KDE, as changing image did work under kde 4.1.3 but not since i upgraded to 4.2.0
Comment 1 Yannick Bruneau 2009-02-05 00:09:28 UTC
Created attachment 30973 [details]
systemsettings about me - changing image message
Comment 2 moizie 2009-03-10 18:18:54 UTC
I can confirm this bug. I have 2 systems, both kubuntu 8.10 kernel 2.6.27-7-generic and both running KDE 4.2.1. One of those systems is able of changing the image, the other isn't. Root doesn't work either.
Comment 3 Unknown 2009-04-19 12:05:22 UTC
I have the same problem, too: KDE 4.2.2 from Kubuntu 9.04 RC
Comment 4 emikaadeo 2009-06-04 00:30:00 UTC
Same here, Debian - KDE 4.2.4
Comment 5 Sven Klomp 2009-06-19 21:42:54 UTC
Did you activated user image in KDM as root?
Login in as root, in System Settings->Advanced->Login Manager->Users->User Image Source activate User
Comment 6 emikaadeo 2009-06-20 12:46:32 UTC
... and that solves the issue.
Comment 7 Unknown 2009-06-20 12:59:07 UTC
Indeed it does :)
The error message should give a hint to where this can be changed, because for many KDE systems, the user who gets this message will actually be the administrator, and he will wonder where he can grant himself the necessary priviledges.
Comment 8 Unknown 2009-06-20 18:04:36 UTC
In addition, I wonder why we can not set the image if using it is disabled for the KDM: The image is also used in other places (like the K-Menu), so the picture really has nothing to do with KDM and should in no way depend on its settings.
Comment 9 Christoph Feck 2009-06-30 09:18:43 UTC
*** Bug 192279 has been marked as a duplicate of this bug. ***
Comment 10 Todd Partridge 2009-09-22 08:18:54 UTC
Got this still using Arch 4.3.1.  When using 4.1.x was allowed to change this but on reinstall not able to any longer.  Do these two images need to be tied together or is it possible to override them?
Comment 11 Christoph Feck 2009-10-13 18:09:07 UTC
*** Bug 208334 has been marked as a duplicate of this bug. ***
Comment 12 Matthew Millar 2009-10-19 01:52:10 UTC
Hi,

I've also got this problem.

Kubuntu 9.10 Beta
KDE 4.3.2

Thanks,

Matthew Millar
Comment 13 terry 2009-11-03 05:04:21 UTC
I can confirm this bug.  kde 4.3.2
Comment 14 Ivan D Vasin 2009-11-06 05:43:18 UTC
i encountered this bug after upgrading from Kubuntu 9.04 to Kubuntu 9.10. the suggestion in comment #5 did not alone fix the problem, but thereafter running the command `rm ~/.face.icon` solved it. now if i switch "User Image Source" to "System" and then back to "User, system", i must close and reopen systemsettings before the problem goes away, but i no longer need to run the rm command.
Comment 15 Ralf Jung 2009-11-14 11:08:30 UTC
I have the same issue with KDE 4.3.2 - and I can only agree to #8, I see so reason why setting the image has anything to do with KDM. After all, that is just one place where this image is used - and the location where it is saved is in my home directory, so how can root decide I can't change it?
Comment 16 erpanfi 2009-12-12 18:21:31 UTC
Bug confirmed; also it's solvable by allowing user images in system settings -> advanced -> login manager -> user, accessing with root privileges (see #5 post).
Maybe the error message should addressing the user to the solution.
Thank you for all!
Comment 17 Christoph Feck 2010-01-06 01:24:10 UTC
*** Bug 221463 has been marked as a duplicate of this bug. ***
Comment 18 Jackson Williams 2010-01-06 01:42:56 UTC
Well, I made a duplicate bug because I couldn't find this one... here's what I wrote:

Version:            (using KDE 4.3.2)
OS:                Linux
Installed from:    Ubuntu Packages

To reproduce: 
    - Open System Settings -> About Me
    - Click user image
    - Error message saying "Your administrator has disallowed changing your
image."

To fix:
    - Open System Settings -> Login Manager -> Users tab
    - Change "User Image Source" from "System" to "User, system"

Expected behavior:
    - Default should be "User, system," not "System"

Usecases where an administrator wants to restrict ability of users to alter
their image are uncommon.  "System" would probably only be used in large
deployments like schools or enterprise settings.
Comment 19 Ralf Jung 2010-01-06 17:18:12 UTC
> Expected behavior:
>     - Default should be "User, system," not "System"
> 
> Usecases where an administrator wants to restrict ability of users to alter
> their image are uncommon.  "System" would probably only be used in large
> deployments like schools or enterprise settings.
In addition, all this option does is creating a file ~/.face.icon with the chosen icon - an operation I can do manually even if the login manager is configured differently. KDM might not be the only application using it (AFAIK, the K-Menu also uses it). The KDM option just changes whether KDM *uses* the images provided by the users or the system in the overview (and that's also what its description says - nothing about forbidding the user to even have an image). Why am I no longer allowed to change my image if one of the many possible applications using it decides not to do so - that's what I don't understand.
So the best fix and the expected behaviour would be to simply remove this artificial dependency on the KDM settings from the "user & password" KCM.
Comment 20 Bruce Hatton 2010-02-22 20:05:54 UTC
Reading Yannick's original report described my problem and attempt to fix it precisely, excepting that my distro is OpenSUSE 11.2.  But I assumed then it was 'yet another' KDE4 bug.
I've changed the 'User Image Source' as suggested and everything is working fine now.
Many thanks.
Comment 21 Ralf Jung 2010-07-22 18:51:43 UTC
This seems to be fixed in KDE 4.4.2 - at least, I could change my image with the KDM setting still being at "System".
Comment 22 Yannick Bruneau 2010-11-14 19:03:56 UTC
OK i've found on a french kubuntu forum the way to bypass the bug !
I don't know if it's KDE bug-related or Kubuntu, but to me i's a bug.

Here is the way :
Go to System Setings > Advanced tab > choose Session Manager, Users tab.
User's image source : check the box "User, System".

Facts that generate the bug :
I think the 1st time you change and save the settings inside the Session manager and don't pay attention to the user's image source, you can't change your image anymore (i guess default setting is on "system").
Comment 23 Terrible Monster 2010-11-24 02:15:07 UTC
(In reply to comment #22)
> OK i've found on a french kubuntu forum the way to bypass the bug !

THANK YOU :D
Comment 24 Christoph Feck 2011-10-07 09:27:05 UTC
*** Bug 283515 has been marked as a duplicate of this bug. ***
Comment 25 Ralf Jung 2011-10-07 11:48:56 UTC
I created a patch to address this issue the way I described in #19. It is being reviewed at https://git.reviewboard.kde.org/r/102799/
Comment 26 Ralf Jung 2011-11-09 19:01:29 UTC
Git commit f7ce3a513baef8479f76c6a9ad7809268a2ab32d by Ralf Jung.
Committed on 12/10/2011 at 14:16.
Pushed by ralfjung into branch 'master'.

kdepasswd KCM: facePerm is a KDM option, unrelated to the user setting his face (for other apps)

REVIEW: 102799
BUG: 183245
FIXED-IN: 4.8

M  +5    -64   kdepasswd/kcm/main.cpp
M  +0    -1    kdepasswd/kcm/main.h

http://commits.kde.org/kde-baseapps/f7ce3a513baef8479f76c6a9ad7809268a2ab32d
Comment 27 Christoph Feck 2012-05-23 17:51:09 UTC
*** Bug 300436 has been marked as a duplicate of this bug. ***
Comment 28 Christoph Feck 2012-08-29 22:51:17 UTC
*** Bug 300436 has been marked as a duplicate of this bug. ***