[NTLUG:Discuss] change a username

Rusty Haddock rusty at fe2o3.lonestar.org
Thu Jan 16 09:07:58 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?

That should about do it so long as you don't change the UserID #.
Changing the UID would entail a bunch of find(1) and chown(1).

	-Rusty-
-- 
   _____        Rusty Haddock  =  KD4WLZ  =  rusty at fe2o3.lonestar.org
|\/   o \   o
|   (  -<  O o   The day Microsoft makes something that doesn't suck
|/\__V__/           is the day they start making vacuum cleaners.




More information about the Discuss mailing list