You are not logged in.

#1 2011-02-12 13:25:26

lineak
Member
Registered: 2011-01-25
Posts: 18

Change user's name in KDE

Hello.

I just installed Arch and all things work well except one issue:

I want to setup my real name in 'System Settings' - 'Account Details' - 'Password & User Account' but when I click 'Apply' there is a dialog asking me for my password and I type it correctly but then it says there is an error: 'An error occurred and your name has probably not been changed. The error message was: chfn: Permission denied.'

I wonder, if anybody here knows how to solve this problem.

Thank you in advance and kindest regards,
Laurin

Offline

#2 2011-02-12 13:57:36

lucke
Member
From: Poland
Registered: 2004-11-30
Posts: 4,018

Re: Change user's name in KDE

What if you run "chfn" in the console?

Offline

#3 2011-02-12 14:02:11

lineak
Member
Registered: 2011-01-25
Posts: 18

Re: Change user's name in KDE

Then I'm asked for my password and can only change Room Number, Work Phone and Home Phone.

Offline

#4 2011-02-12 14:21:59

lucke
Member
From: Poland
Registered: 2004-11-30
Posts: 4,018

Re: Change user's name in KDE

Run "chfn your_username" as root. Perhaps it'd work in kde if you gave it root password.

Offline

#5 2011-02-12 14:23:11

lineak
Member
Registered: 2011-01-25
Posts: 18

Re: Change user's name in KDE

Okay, I tried that and it worked but in the KDE settings it isn't shown…

Offline

#6 2011-02-12 14:27:47

lucke
Member
From: Poland
Registered: 2004-11-30
Posts: 4,018

Re: Change user's name in KDE

Maybe you need to relogin or something. You should see your set name in /etc/passwd.

Offline

#7 2011-02-12 14:53:02

lineak
Member
Registered: 2011-01-25
Posts: 18

Re: Change user's name in KDE

Yes, I see my name in /etc/passwd but I want to be able changing it with the KDE settings. I just looked in Fedora and there it works as normal user.

Offline

#8 2012-04-07 05:35:18

TimeManx
Member
From: India
Registered: 2012-04-07
Posts: 2

Re: Change user's name in KDE

Well...this is an old thread and the OP either found the solution or gave up on this. But for anyone who stumbles upon this thread, I'm posting the solution.

To allow chfn to add Real Name in /etc/passwd, open /etc/login.defs (as root) and look for the line containing CHFN_RESTRICT. Change whatever is followed to frwh.
This will allow changing Real Name from KDE System Settings.

Offline

#9 2012-04-07 05:43:15

amuroray
Member
From: Indonesia
Registered: 2011-05-27
Posts: 24

Re: Change user's name in KDE

try use your root password

and take a look at this https://wiki.archlinux.org/index.php/Sudo

Offline

Board footer

Powered by FluxBB