-
Notifications
You must be signed in to change notification settings - Fork 48
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 logon to newly imaged NVMe #213
Comments
With passwords like that it's no surprise that you can't login! 🤣 Seriously, the issue is that your passwords have dollar signs in them ( Since you're using plugins on the command line those dollar signs are subject to bash interpretation, so your password got changed. For free! One handy feature of the I used the
There are two solutions:
With this, the lines are read and not subject to bash substitutions, so the I use the Oh, and to answer your specific questions:
|
Thank you, very helpful - I figured as much and should have tried. Hopefully this helps someone else. |
Sorry to bother, but now working on another NVMe and wanted to try plugfile option, but can't seem to get it to work. I searched the docs, checked the --help and also searched the source and can't seem to find how --plugfile is supposed to work: sudo sdm --customize --plugfile /home/cord/plugfile.txt --regen-ssh-host-keys --restart 2024-03-15-raspios-bookworm-arm64-lite.img gets me sdm: unrecognized option '--plugfile' Using sdm V12.2 |
Ooops...my bad! It's |
Great, and I note that the plugfile has to be executable. That worked like a charm.
Cord Thomas
Legal Analysis Systems, Inc.
310.430.3724
***@***.******@***.***>
[A black background with blue letters Description automatically generated]
From: Benn ***@***.***>
Date: Saturday, June 1, 2024 at 5:11 PM
To: gitbls/sdm ***@***.***>
Cc: Cord Thomas ***@***.***>, State change ***@***.***>
Subject: Re: [gitbls/sdm] Unable to logon to newly imaged NVMe (Issue #213)
Ooops...my bad! It's --plugin @/path/to/plugfile.txt . Sorry about that! And, the file type doesn't need to be '.txt' it's just a Linux file. I use myplugins with no file type whatsoever.
—
Reply to this email directly, view it on GitHub<#213 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/BGF6NQXC62EDLPYZFX3XMD3ZFJPMJAVCNFSM6AAAAABITPHZRKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNBTGY2DAMBXHA>.
You are receiving this because you modified the open/close state.Message ID: ***@***.***>
|
I don't believe that it needs to be executable. It's only read by sdm running as root, not executed. |
Here's what I am using sudo sdm --customize --plugin /home/cord/plugfile --regen-ssh-host-keys --restart 2024-03-15-raspios-bookworm-arm64-lite.img If i leave plugfile as rw, then I get this error: ? Plugin /home/cord/plugfile is not executable |
Try this instead:
You're missing the |
I ran the following two commands, then updated the boot order and rebooted my RPi 5
I am unable to log on using either of the user accounts I added (not to worry, the password will change)
Two questions -
sudo sdm --customize --plugin user:"adduser=cord|password=m&TWq6SD#xM$6K4YunNB" --plugin user:"adduser=ansible|password=J$orK7q9Ai#Gumq%PTmU" --plugin L10n:host --plugin disables:piwiz --regen-ssh-host-keys --restart 2024-03-15-raspios-bookworm-arm64-lite.img
sudo sdm --burn /dev/nvme0n1 --hostname pi-las8 --expand-root 2024-03-15-raspios-bookworm-arm64-lite.img
The system boots up as pi-las8 but I cannot authenticate
The text was updated successfully, but these errors were encountered: