Muhammad_Fathi
Posts: 10
Joined: Sun Nov 27, 2016 10:25 pm

Access denied

Wed Jun 14, 2017 9:31 pm

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

SurferTim
Posts: 1769
Joined: Sat Sep 14, 2013 9:27 am
Location: Miramar Beach, Florida

Re: Access denied

Wed Jun 14, 2017 10:06 pm

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/

User avatar
topguy
Posts: 6491
Joined: Tue Oct 09, 2012 11:46 am
Location: Trondheim, Norway

Re: Access denied

Wed Jun 14, 2017 10:11 pm

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.

runboy93
Posts: 352
Joined: Tue Feb 28, 2017 1:17 pm
Location: Finland
Contact: Website

Re: Access denied

Wed Jun 14, 2017 11:35 pm

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"

Return to “Troubleshooting”