Bug 301201 - [kde 4.9 beta] systemsettings: changing user details chfn does not accept password
Summary: [kde 4.9 beta] systemsettings: changing user details chfn does not accept pas...
Status: RESOLVED DUPLICATE of bug 156396
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_useraccount (show other bugs)
Version: 1.0
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Frans Englich
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-06-05 10:08 UTC by Mark
Modified: 2012-08-06 13:10 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
full systemsettings log trying to change a user details field. (13.95 KB, text/plain)
2012-06-05 10:11 UTC, Mark
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mark 2012-06-05 10:08:54 UTC
Hi, 
this is valid for kde 4.9beta1 (4.8.80), if I go to systemsettings -> Common Appeance -> Account Details -> Password & User Details and I try to change something (eg. name filed), hit Apply and I get this error message : 

"An error occurred and your name has probably not been changed. The error message was:
chfn: Permission denied." 

Attaching log of systemsettings output, here's a reduced part: 

"
systemsettings(3343)/kutils (KCModuleProxy) KCModuleProxyPrivate::loadModule: Module not already loaded, loading module  "Password & User Account"  from library  "kcm_useraccount"  using symbol  "kcm_useraccount"
systemsettings(3343)/kdesu (kdelibs) KDESu::PtyProcess::exec: [ /build/src/kdelibs-4.8.80/kdesu/process.cpp : 293 ]  Running "chfn"
systemsettings(3343)/khtml (caret) DOM::Selection::moveTo: Selection[ Position( 0x0 "null" : 0 ) Position( 0x0 "null" : 0 ) Position( 0x0 "null" : 0 ) Position( 0x0 "null" : 0 ) 1 ] Position( 0x0 "null" : 0 ) Position( 0x0 "null" : 0 )
systemsettings(3343)/khtml (caret) DOM::Selection::validate: Selection[ Position( 0x0 "null" : 0 ) Position( 0x0 "null" : 0 ) Position( 0x0 "null" : 0 ) Position( 0x0 "null" : 0 ) 1 ] 0
systemsettings(3343)/khtml (caret) DOM::Selection::validate: [character:baseIsStart] true Position( 0x0 "null" : 0 ) Position( 0x0 "null" : 0 )
systemsettings(3343) KCMUserAccount::save: ChfnProcess->exec() failed. Error code:  3 
Output: "chfn: Permission denied."
systemsettings(3343)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:
systemsettings(3343)/kparts KParts::Part::slotWidgetDestroyed: deleting part ""
"

I found old but maybe relevat discussion here: 
http://osdir.com/ml/kubuntu-bugs/2012-05/msg00265.html


su and sudo are installed, tried also adding (for Arch unofficial) kdesudo, didnt help. 

Any ideas? 
Thank you, 




Reproducible: Always
Comment 1 Mark 2012-06-05 10:11:48 UTC
Created attachment 71598 [details]
full systemsettings log trying to change a user details field.
Comment 2 Christoph Feck 2012-06-05 10:46:42 UTC
*** This bug has been marked as a duplicate of bug 156396 ***
Comment 3 stupor_scurvy343 2012-08-06 13:10:52 UTC
This is unlikely to be a duplicate, nor a bug in KDE. The most probable cause for "chfn: Permission denied." is the system configuration (/etc/login.defs) disallowing such changes.