changing users name
Is there a magical way to change a users name?
I run Debian. |
will "usermod -l <new-name>" do ?
|
If that is the way it is done than it will do.
|
I just read usermod's man pages and I'm not sure it will work. I mean aren't there other places your'username is used besides login and home directory? I mean what about groups.... or do you have to do '-G groups,names,seperated,only,by,a,comma'?
|
That's the correct way, and it should work throughout regardless of what file you are looking in...
Name = UID Most files use the UID anyway, so you can change your name to whatever, it's sorta like an alias. For those that use the username (can't think of one off the top of my head) you may want to manually edit them. However, the groups file shouldn't... Cool |
Thank you sir 'C'!
|
You're welcome, I just clarified though, jalal is the one who deserves the Thanks ;)
Cool |
All times are GMT -5. The time now is 11:58 PM. |