robot
Posts: 11
Joined: Sun Jul 14, 2013 1:50 am

Logging in as pi reprompts

Tue Jul 16, 2013 11:37 pm

When I log in as pi and use the correct password, it prompts me again for username. The usual log in output comes up when I do this. Then it asks again for user name. Why can't I login as pi?

elatllat
Posts: 1337
Joined: Sat Dec 17, 2011 5:05 pm

Re: Logging in as pi reprompts

Wed Jul 17, 2013 4:34 am

The configure script is known to corrupt the SDcard sometimes, re-image and try again.
SBC with 32GB RAM: https://hardkernel.com

FAQ : https://raspberrypi.stackexchange.com

Unanswered: https://www.raspberrypi.org/forums/search.php?search_id=unanswered

robot
Posts: 11
Joined: Sun Jul 14, 2013 1:50 am

Re: Logging in as pi reprompts

Wed Jul 17, 2013 4:43 am

So if I re-image, I lose everything that I've put on there?

drgeoff
Posts: 10831
Joined: Wed Jan 25, 2012 6:39 pm

Re: Logging in as pi reprompts

Wed Jul 17, 2013 11:01 am

robot wrote:When I log in as pi and use the correct password, it prompts me again for username. The usual log in output comes up when I do this. Then it asks again for user name. Why can't I login as pi?
Have you installed anything since the last successful login?
Quis custodiet ipsos custodes?

User avatar
RaTTuS
Posts: 10563
Joined: Tue Nov 29, 2011 11:12 am
Location: North West UK
Contact: Twitter YouTube

Re: Logging in as pi reprompts

Wed Jul 17, 2013 11:35 am

keyboard repeats ?
how about logging in via ssh
How To ask Questions :- http://www.catb.org/esr/faqs/smart-questions.html
WARNING - some parts of this post may be erroneous YMMV

1QC43qbL5FySu2Pi51vGqKqxy3UiJgukSX
Covfefe

robot
Posts: 11
Joined: Sun Jul 14, 2013 1:50 am

Re: Logging in as pi reprompts

Wed Jul 17, 2013 4:05 pm

I've tried logging in through putty and putty just closes immediately and I've tried restarting the pi and logging in directly to the pi. I haven't installed anything. I can login through another user account but this doesn't help me a whole lot since pi is the only user with root permissions.

Before the problem occurred, I was remoting in on a desktop. I think that I left my putty session on when I went home and then tried to remotely connect through a laptop. This is when the problem started. It should kick pi off the other desktop session right? When I went back to my desktop, the session showed as (inactive) and I closed it.

I then logged in as non-pi user and tried to see who was logged in. It showed that pi was still logged in so I rebooted the pi. Now pi was not logged in but the problem still occured.

The only other changes that I was making to the pi at the time was to the smb.conf. I changed the top contents from another user to pi as follows:

[pi]
commment = pi folder
path = /media/USBHDD1/shares
valid users = @users
force group = users
create mask = 0660
directory mask = 0771
read only = no

Return to “Troubleshooting”