![]() Logging in as a root user grants you the privilege to change the username just like it would if you use another user. Therefore, you will need to use another user or refer to the method I usually use, logging in as a root user. This method is quite challenging since you cannot change a username directly from an ongoing Pi session. The first method that is widely used is using the usermod command. Method 1: Using the usermod command to change the default username creating a new user with your desired username. ![]() ![]() in this article, I will be showing you the three most common but efficient methods of changing a Raspberry Pi username: This is a Linux command used in changing all the Linux account parameters, including the account name. If you want to change the default username on your Raspberry Pi, the command to be used is: usermod So stick to this article to learn how to change the default username in your Raspberry Pi. In most cases, changing the username ensures your Raspberry Pi is more secure. How to change the default Raspberry Pi usernameĪs you already know, Raspberry’s Pi default username is “pi” while the password is “raspberry.” it is recommended to change the password as shown above and the username. Therefore, You can further improve your Raspberry Pi’s security by using the SSH keys to enable you to access it remotely. Note: SSH keys can combine the security of a passcode with a long and unique encryption key to make it much harder to break into your Raspberry Pi remotely. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |