[NTLUG:Discuss] change a username

Steve Baker sjbaker1 at airmail.net
Thu Jan 16 10:16:51 CST 2003


Fred James 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 - pretty much.

Although if the user has been using the system with the wrong
name for some time, it'll have crept into a lot of config files,
log files, mail directories, etc.

---------------------------- Steve Baker -------------------------
HomeEmail: <sjbaker1 at airmail.net>    WorkEmail: <sjbaker at link.com>
HomePage : http://www.sjbaker.org
Projects : http://plib.sf.net    http://tuxaqfh.sf.net
            http://tuxkart.sf.net http://prettypoly.sf.net





More information about the Discuss mailing list