Last active
May 1, 2019 20:24
-
-
Save 4noha/59e84c5c1032bce32550e365e28fb0ab to your computer and use it in GitHub Desktop.
Raspbian rename default user
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ssh [email protected] | |
| > raspberry | |
| sudo apt-get update | |
| > raspberry | |
| sudo apt-get upgrade | |
| sudo useradd -M tmp | |
| sudo gpasswd -a tmp sudo | |
| sudo passwd tmp | |
| > a | |
| > a | |
| exit | |
| ssh [email protected] | |
| > a | |
| sudo usermod -l nokkii -d /home/nokkii -m pi | |
| exit | |
| ssh [email protected] | |
| > raspberry | |
| sudo userdel tmp | |
| > raspberry | |
| sudo passwd nokkii | |
| > newpass | |
| > newpass |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment