Access denied
Posted: Wed Jun 14, 2017 9:31 pm
by Muhammad_Fathi
i am using Jessie on my memory card , i was working on the pi using the VNC viewer as i always do , then suddenly the connection was terminated and when i tried to log in again , it kept giving me access denied after i put in the password (i have using the default user name and password)
i am kinda lost , i dont know what happened or what i am searching for
any help would be great
thanks in advance
Re: Access denied
Posted: Wed Jun 14, 2017 10:06 pm
by SurferTim
Just a thought...
Was your RPi exposed to the internet? edit: or any other RPis that had been exposed to the internet?
Did you change the default password?
https://www.theregister.co.uk/2017/06/1 ... pberry_pi/
Re: Access denied
Posted: Wed Jun 14, 2017 10:11 pm
by topguy
Have you pi been exposed to the internet, can someone have accessed your Pi from outside of you private network ?
If that is the case, then I would say there is a good chance you have been hacked.
Another scenario is that there might be something wrong with your SD-card.
In both cases its advisable to reflash your card. If you have another computer with Linux and a SD-card reader you can try to rescue some files if you need to.
Re: Access denied
Posted: Wed Jun 14, 2017 11:35 pm
by runboy93
http://raspi.tv/2012/how-to-create-a-ne ... spberry-pi
Most important way to secure your Pi, create new user + password, delete default user + all junk files.
When you remove pi user, remember use this command to remove everything related to "pi" user:
"sudo deluser -remove-all-files pi"