[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Changing user name



On 05/18/00, Chanop Silpa-Anan addressed "Re: Changing user name":
> Once upon a time, I heard Brian say
> 
> > Cameron Matheson said:
> > 
> >  >Hey,
> >  >
> >  >I want to change my user name from fatmike to cmatheson.  Is this
> >  >possible?
> 
> I think the easierway is edit your /etc/password and change username and
> home directory feild, you should find it easily :)
> 
> Then rename your old home dir to new homedir, that's it.
> > 

Until he runs a program that is configured specifically for his old 
home directory.  Netscape comes to mind.  Those just need to be fixed 
by hand as the need becomes apparent.  However, you could try recursive 
grepping of your home directory looking for text files containing the 
original home directory name.  

The last time I changed my username, I just left my home directory the 
way it was, to avoid the headache.  The names don't *need* to be 
identical.  Works fine for me.  Just make sure it's properly reflected 
in /etc/passwd.

-- 
Jesse Jacobsen, Pastor        jmjaco@home.com, pastorjacobsen@home.com
Grace Lutheran Church (ELS)   http://members.home.net/jmjacobsen1/glc/
Madison, Wisconsin            GnuPG public key ID: 2E3EBF13



Reply to: