You are not logged in.

#1 2008-04-29 08:59:37

fettouhi
Member
Registered: 2007-05-07
Posts: 745

Editing user info for existing user

I have a fresh installation of Arch i686 running with GNOME 2.22. I made a typo making the user account I use in my real name and I would like fix that. How can I edit my user info, i.e. not my username but my info?

Regards

André

Offline

#2 2008-04-29 09:01:01

dolby
Member
From: 1992
Registered: 2006-08-08
Posts: 1,581

Re: Editing user info for existing user

i think you need to see man usermod. i dont know if you can change your name though and i cant check right now


There shouldn't be any reason to learn more editor types than emacs or vi -- mg (1)
[You learn that sarcasm does not often work well in international forums.  That is why we avoid it. -- ewaller (arch linux forum moderator)

Offline

#3 2008-04-29 09:13:15

fettouhi
Member
Registered: 2007-05-07
Posts: 745

Re: Editing user info for existing user

I just checked man usermod. It seems like you change your login but I can't that you can change your real way. Is there a GUI way to edit the info maybe? Running gnome-about-me doesn't show my real name.

Regards

André

Offline

#4 2008-04-29 09:16:54

dolby
Member
From: 1992
Registered: 2006-08-08
Posts: 1,581

Re: Editing user info for existing user


There shouldn't be any reason to learn more editor types than emacs or vi -- mg (1)
[You learn that sarcasm does not often work well in international forums.  That is why we avoid it. -- ewaller (arch linux forum moderator)

Offline

#5 2008-04-29 09:23:41

fettouhi
Member
Registered: 2007-05-07
Posts: 745

Re: Editing user info for existing user

What package does chpass belong to in Arch? I can't see how this helps me change my real name?

Regards

André

Offline

#6 2008-04-29 09:40:27

danielsoft
Member
From: Czech Republic
Registered: 2008-02-16
Posts: 102

Re: Editing user info for existing user

you can edit /etc/passwd directly, imho

Last edited by danielsoft (2008-04-29 09:41:17)


may the Source be with you

Offline

#7 2008-04-29 10:07:14

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

Re: Editing user info for existing user

chfn

Offline

#8 2008-04-29 10:27:15

fettouhi
Member
Registered: 2007-05-07
Posts: 745

Re: Editing user info for existing user

danielsoft wrote:

you can edit /etc/passwd directly, imho

I did that and that worked. But I have a problem with GDM. I using a greeter with that shows the list of users on my pc. For some reason my user's name is wriiten

Andr?

and not

André as it should be. For some reason GDM ignores my locale setting or utf-8. How do I make it recognise é?

Regards

Offline

#9 2009-08-11 02:10:25

Fyda
Member
From: Vancouver, BC
Registered: 2007-11-10
Posts: 7

Re: Editing user info for existing user

In my case, trying to set my full name on my user account with

chfn -f <my name here>

gives the following:

chfn: Permission denied.

I went ahead and edited /etc/passwd, which got the job done.

I'm still curious to know why the real name / full name is not editable via chfn, though.

(I noticed this issue a long time ago, but didn't get sufficiently bothered by it until I used GNOME's Lock Screen function and discovered the Leave message dialog was saying "Leave a message for :", with nothing in place of the full name. Of course this isn't the most useful of features, but it's the principle of the thing...)


Desktop "Kuchen": ASUS GeForce EN9600GSO | nvidia driver | AIGLX | 3.5GB RAM | AMD Athlon64 X2 Dual Core 5200+ | 1400x1050
Laptop "Borscht": ASUS 1005HA Crystal Black EeePC Seashell

Offline

#10 2023-10-23 03:07:08

BEEDELLROKEJULIANLOCKHART
Member
From: curl -L 'dub.sh/zza'|jq -r
Registered: 2022-05-12
Posts: 4
Website

Re: Editing user info for existing user

Fyda wrote:

In my case, trying to set my full name on my user account with

chfn -f <my name here>

gives the following:

chfn: Permission denied.

I went ahead and edited /etc/passwd, which got the job done.

I'm still curious to know why the real name / full name is not editable via chfn, though.

(I noticed this issue a long time ago, but didn't get sufficiently bothered by it until I used GNOME's Lock Screen function and discovered the Leave message dialog was saying "Leave a message for :", with nothing in place of the full name. Of course this isn't the most useful of features, but it's the principle of the thing...)

Per

RokeJulianLockhart@s1e8h4:~> chfn
Password: 
Changing the user information for RokeJulianLockhart
Enter the new value, or press ENTER for the default
        Full Name: 
        Room Number []: 0
        Work Phone []: 
        Home Phone []: +44
RokeJulianLockhart@s1e8h4:~>

It appears to work for me on cpe:/o:opensuse:tumbleweed:20231018, although I notice from your logs that it didn't appear to prompt you for a password. Perhaps this is a quirk of how different systems use different libraries to provide the

chfn

command (https://unix.stackexchange.com/a/321091/386242)?


Remember to tag me when responding to me in case I'm not subscribed.

Offline

#11 2023-10-23 08:43:16

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,787
Website

Re: Editing user info for existing user

Please pay attention to he age of topics and don't necrobump.

https://wiki.archlinux.org/title/Genera … bumping%22

Closing.


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

Board footer

Powered by FluxBB