Bug 301201

Summary: [kde 4.9 beta] systemsettings: changing user details chfn does not accept password
Product: [Applications] systemsettings Reporter: Mark <markotahal>
Component: kcm_useraccountAssignee: Frans Englich <frans.englich>
Status: RESOLVED DUPLICATE    
Severity: normal CC: stupor_scurvy343
Priority: NOR    
Version: 1.0   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: full systemsettings log trying to change a user details field.

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.