User maintenance
Most Linux distributions for the Banana Pi come preconfigured with a default username and password. The login information is published on the download website for the operating system images (see Chapter 1, Installation and Setup).
In almost all cases, the credentials are:
Username |
Password |
---|---|
|
|
You might want to create your own user on the system. At the very least, it is highly recommended you change the default password of the default user. This recipe explains the necessary tasks.
Getting ready
The following ingredients are required to create or delete users and to change their passwords:
- A booted up Linux operating system on your Banana Pi
- SSH connection if you plan to do the user maintenance remotely; however, in most of the upcoming recipes, you can do the user maintenance directly on Banana Pi
How to do it…
We will split this recipe into adding a user, changing a password, and deleting a user.
Adding a new user
We are going to use the
useradd...