Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to complete first login #516

Closed
paul-da opened this issue Jan 5, 2020 · 4 comments
Closed

Unable to complete first login #516

paul-da opened this issue Jan 5, 2020 · 4 comments

Comments

@paul-da
Copy link

paul-da commented Jan 5, 2020

I keep getting "Permission denied, please try again."

I've copied the files from the zip in the most recent release (1.1.2) onto the sd card, and not used any additional config. After setup completes, I find the ip address on my router, and using terminal on a mac type:
ssh root@192.168.1.77
I accept the ECDSA fingerprint.
I get the prompt:
root@192.168.1.77's password:
I type:
raspbian
and press enter. I get the message: Permission denied, please try again.
I've tried pi@192.168.1.77 and password of raspberry but that gives me the same response.

Apologies if I'm missing something obvious here. Do I need to specify the password in config first?

Kind regards,

Paul.

@diederikdehaas
Copy link
Member

That it fails with 'root' is understandable as there is a bug here: https://github.com/debian-pi/raspbian-ua-netinst/blob/v1.1.x/scripts/etc/init.d/rcS#L1014

Without an installer-config.txt with a setting for username (and userpw), no normal user will be created: https://github.com/debian-pi/raspbian-ua-netinst/blob/v1.1.x/scripts/etc/init.d/rcS#L1026
So it's logical that that part failed.

diederikdehaas added a commit to diederikdehaas/raspbian-ua-netinst that referenced this issue Jan 10, 2020
diederikdehaas added a commit to diederikdehaas/raspbian-ua-netinst that referenced this issue Jan 10, 2020
Now 'root' can actually login using a password. Really fixes debian-pi#516.
@diederikdehaas
Copy link
Member

The issue is fixed in the v1.1.x branch.
I want to make a couple of other changes (deprecation warnings) to it before making a new release (and merging it into master).
But if you build a new installer yourself from the v1.1.x branch, it should now work.

@paul-da
Copy link
Author

paul-da commented Jan 11, 2020

Hi, thanks for this. I built the v1.1.x branch and was able to log in with the default root account and no addtional config.
Cheers,
Paul.

@paul-da paul-da closed this as completed Jan 11, 2020
@melyux
Copy link

melyux commented Nov 11, 2020

Can you make a new release with the fix? I just uploaded the latest release without knowing about this issue and was locked out of the Pi.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants