changing my username from the default root to what i want.

I’m a newbie and having trouble changing my username from the default root to what i want it to be. Using a terminal and using the passwd command only gives me a prompt to change my password which isn’t what i want to do. Help!

As root, do ‘passwd joebloggs’ or whatever.