User avatar
Mahan_Micro
Posts: 44
Joined: Tue Aug 04, 2015 8:52 pm

changing PI password as root

Tue Sep 13, 2016 7:09 am

Hi
I could install the NODE-RED on RPI2 (raspbian) and reboot it.
after installing, my RPI bootup as root and I dont have any access to my software and... that ready for PI user
I can't Enter with PI and it's password.
can you help me?
I want to Enter as PI user but I dont know how !?!??
If your Dreams Don't Scare You , They Aren't Big Enough

User avatar
nl3prc
Posts: 160
Joined: Sun Jul 24, 2016 12:39 pm
Location: Den Helder the netherlands

Re: changing PI password as root

Tue Sep 13, 2016 8:51 am

are you sure you use smal print when enthering user pi and password i think is raspberry

Mension1234
Posts: 27
Joined: Wed Jul 13, 2016 8:19 pm

Re: changing PI password as root

Wed Sep 14, 2016 3:37 am

Try entering this in the command line:

Code: Select all

su - pi
If it prompts you for a password, the default one is 'raspberry'

Try taking a look at this thread as well: viewtopic.php?f=63&t=25345

User avatar
Mahan_Micro
Posts: 44
Joined: Tue Aug 04, 2015 8:52 pm

Re: changing PI password as root

Wed Sep 14, 2016 6:15 am

Mension1234 wrote:Try entering this in the command line:

Code: Select all

su - pi
If it prompts you for a password, the default one is 'raspberry'

Try taking a look at this thread as well: viewtopic.php?f=63&t=25345
thanks a lot dear friend !
now I can login as PI but I have new problem :
1_after every reset my RPI bootup as root and I must every time login to pi
2_I havn't pi desktop ! when I login as pi the pi's Desktop dont apear

do you know how I can set the PI for default user ???
If your Dreams Don't Scare You , They Aren't Big Enough

Mension1234
Posts: 27
Joined: Wed Jul 13, 2016 8:19 pm

Re: changing PI password as root

Wed Sep 14, 2016 6:12 pm

1_after every reset my RPI bootup as root and I must every time login to pi
Not sure about this one, try taking a look at the thread I linked to. It might have a solution for this.
2_I havn't pi desktop ! when I login as pi the pi's Desktop dont apear
Do you mean it's booting to the command line? Or it's just without the folders you had?

User avatar
Mahan_Micro
Posts: 44
Joined: Tue Aug 04, 2015 8:52 pm

Re: changing PI password as root

Sat Sep 17, 2016 3:28 pm

Mension1234 wrote: Do you mean it's booting to the command line? Or it's just without the folders you had?
IT has a GUI when boot as ROOT, and I dont have my folders even login with PI
If your Dreams Don't Scare You , They Aren't Big Enough

Mension1234
Posts: 27
Joined: Wed Jul 13, 2016 8:19 pm

Re: changing PI password as root

Sat Sep 17, 2016 4:03 pm

If you had files saved on user ROOT, they won't be transferred over to user PI. You have to manually find the files in the directory tree and copy them onto the PI desktop.

Return to “Beginners”