You are not logged in.
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
What if you run "chfn" in the console?
Offline
Then I'm asked for my password and can only change Room Number, Work Phone and Home Phone.
Offline
Run "chfn your_username" as root. Perhaps it'd work in kde if you gave it root password.
Offline
Okay, I tried that and it worked but in the KDE settings it isn't shown…
Offline
Maybe you need to relogin or something. You should see your set name in /etc/passwd.
Offline
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
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
try use your root password
and take a look at this https://wiki.archlinux.org/index.php/Sudo
Offline