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

Re: Changing user name



Once upon a time, I heard Kent West say

> Chanop Silpa-Anan wrote:
> 
> > 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.
> 
> Will the file ownership/permissions remain intact? I suspect they will,
> thinking that the permissions are based on the user ID instead of the
> username, but I'm not sure.

Yes, owner/group are based on uid/gid not name :)


-- 
,-----------------------------------------------------------------------------.
| Chanop Silpa-Anan                 <Chanop.Silpa-Anan@faceng.anu.edu.au>     |
| Australian National University                                              |
| got sparetime ?                                                             |
| http://kenji.anu.edu.au/                                                    |
|          Debian GNU/Linux           GPG key on request                      |
`-----------------------------------------------------------------------------'

Attachment: pgp41WGzraJWa.pgp
Description: PGP signature


Reply to: