[NTLUG:Discuss] change a username

rob apodaca rob.apodaca at attbi.com
Thu Jan 16 07:03:08 CST 2003


On Thu, 16 Jan 2003 08:39:58 -0600
Fred James <fredjame at concentric.net> wrote:

> I set up a username wrong, such as "abcdefg" when the user would
> prefer "acdefg".
> Can that be successfully changed by editing /etc/passwd, /etc/shadow, 
> and /etc/group, and changing the home directory name?
> 

Yes, that will do it. Don't forget to change owner and group of the
user's home directory. Also check out man pages for usermod and
groupmod. 




More information about the Discuss mailing list