mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-30 12:11:56 +00:00
disable ssh login as pi for non-dev builds
This commit is contained in:
committed by
Keagan McClelland
parent
350bbf88ab
commit
03a8dca7d7
@@ -60,9 +60,12 @@ EOF
|
||||
|
||||
cat /embassy-os/product_key.txt | tr -d '\n' | sha256sum | head -c 32 | sed 's/$/\n/' > /etc/machine-id
|
||||
|
||||
passwd -l pi
|
||||
|
||||
raspi-config nonint enable_overlayfs
|
||||
systemctl disable initialization.service
|
||||
sudo systemctl restart NetworkManager
|
||||
|
||||
sync
|
||||
|
||||
# TODO: clean out ssh host keys
|
||||
|
||||
Reference in New Issue
Block a user