Differences
This shows you the differences between two versions of the page.
— |
change_user [2016/07/10 17:50] (current) admin created |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ===== Change the user and the password ===== | ||
+ | [[http:// | ||
+ | |||
+ | 1. Change the name: | ||
+ | $ sudo nano / | ||
+ | in " | ||
+ | |||
+ | 2. Change the host file | ||
+ | $ sudo nano /etc/hosts | ||
+ | in: | ||
+ | 127.0.0.1 | ||
+ | ::1 | ||
+ | fe00:: | ||
+ | ff00:: | ||
+ | ff02:: | ||
+ | ff02:: | ||
+ | | ||
+ | 127.0.1.1 | ||
+ | |||
+ | 5. Change the password | ||
+ | $ passwd | ||
+ | |||
+ | The passwd command allows you to change your password, you will be prompted for your old password, then you new password twice. The password is " | ||
+ | |||
+ | 4. Reboot: | ||
+ | $ sudo reboot | ||
+ | |||
+ | ---- |