Username

Latest response

Hello,

I'm not sure if this is the right place, but how do I go about updating/changing my username?

Thanks,
-David

Responses

Hi David,

This should be done by soneone with privileged access whilst you are NOT logged in.

It is also assumed you have not encrypted your home directory.

Under those assumptions, here is a simple example:

# usermod -l <newname> -d /home/<newname> -m <oldname>

# groupmod -n <newgroup> <oldgroup>

Regards,

Dusan Baljevic (amateur radio VK2COT)

Got it. Thanks.