LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How To Modify Username (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-modify-username-523607/)

KAOZ_IT 01-28-2007 05:28 PM

How To Modify Username
 
:confused: This may seem stupid but i don't know how to modify a user's name. For Example change tomd to tomj.

Please help! I used to be Windows user.

KAOZ_IT 01-28-2007 05:31 PM

PS. I am only running command line. No GUI

SleepingGiant08 01-28-2007 05:32 PM

I think you have to edit /etc/passwd directly with
Code:

vipw
???

See this http://www.linux.com/guides/sag/x2424.shtml. That should help you out.

KAOZ_IT 01-28-2007 06:26 PM

Quote:

Originally Posted by SleepingGiant08
I think you have to edit /etc/passwd directly with
Code:

vipw
???

See this http://www.linux.com/guides/sag/x2424.shtml. That should help you out.

This kind of works??! Only that the user can send emails with her new username, but she cannot receive emails.

The Error is:
"Authentication service cannot retrieve authentication info."

Pls help?

KAOZ_IT 01-28-2007 07:11 PM

:)

I tried the command usermod -l new_username current_username

This seems 2 fix this problem.

Thnx

SleepingGiant08 01-28-2007 08:36 PM

no probem, glad you could figure it out


All times are GMT -5. The time now is 09:05 AM.