Crude and ugly way is sudo nano /etc/passwd; sudo nano /etc/group; sudo nano /etc/shadow;
Change pi to your new ID in those three files then reboot.
If you use the GUI you'll need to muck about with the lightdm autologin stuff.
Code: Select all
# this is a comment xyzzy = "foo" won't happen xyzzy = "foobar" # this is a comment too xyzzy = "foobar" + "# this isn't a comment"