Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
08-30-2003, 02:46 AM
|
#1
|
Member
Registered: Jul 2003
Posts: 133
Rep:
|
changing users name
Is there a magical way to change a users name?
I run Debian.
|
|
|
08-30-2003, 03:16 AM
|
#2
|
Member
Registered: Aug 2003
Location: .bh
Distribution: Gentoo
Posts: 188
Rep:
|
will "usermod -l <new-name>" do ?
|
|
|
08-30-2003, 04:38 AM
|
#3
|
Member
Registered: Jul 2003
Posts: 133
Original Poster
Rep:
|
If that is the way it is done than it will do.
|
|
|
08-30-2003, 04:47 AM
|
#4
|
Member
Registered: Jul 2003
Posts: 133
Original Poster
Rep:
|
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'?
|
|
|
08-30-2003, 04:50 AM
|
#5
|
LQ Guru
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613
Rep:
|
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
|
|
|
08-30-2003, 05:02 AM
|
#6
|
Member
Registered: Jul 2003
Posts: 133
Original Poster
Rep:
|
Thank you sir 'C'!
|
|
|
08-30-2003, 03:17 PM
|
#7
|
LQ Guru
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613
Rep:
|
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 12:57 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|