Creating a New User and Changing Username/Password on Raspbian
14 Feb 2015Reasons Why
A great reason to do this is increased security. On a fresh copy of Raspbian, your username and password will be ‘pi’ and ‘raspberry’. You may have projects that are more public and require a bit more security.
Creating a Brand New User
The first thing we do is create the new username.
Now create a password for that new user.
Now you’ll want to create a home directory for your new user.
Changing your Username
Note - The use of ‘pi’ above is a placeholder for the username you are replacing, for a lot of us that will be ‘pi’.
Changing your Password
This one is easy, type the following command…
Once the config menu displays, you should see ‘Change User Password’ as an option. Select this option and change your password as desired.