Browse Source

revert renaming dietpi user to pi

dev
openoms 6 years ago
parent
commit
c574544f9c
  1. 16
      DietPi/install.md
  2. 1683
      DietPi/sdcard_build_output.html
  3. 4
      build.sdcard/raspbianStretchDesktop.sh

16
DietPi/install.md

@ -27,14 +27,11 @@ Reboots again
`ssh root@[IP-OF-YOUR-DIETPI]`
Now only the bash prompt opens
`userdel dietpi && rm -r dietpi`
`useradd -m pi`
`exit`
`ssh pi@[IP-OF-YOUR-DIETPI]`
`ssh dietpi@[IP-OF-YOUR-DIETPI]`
password: `dietpi`
now at:
`dietpi@DietPi:~$`
@ -42,15 +39,6 @@ use: wget https://raw.githubusercontent.com/[GITHUB-USERNAME]/raspiblitz/[BRANCH
`wget https://raw.githubusercontent.com/openoms/HardwareNode/OdroidHC1Debug/build.sdcard/raspbianStretchDesktop.sh && sudo bash raspbianStretchDesktop.sh OdroidHC1Debug openoms`
```usermod: user dietpi is currently used by process 1340
chpasswd: (user pi) pam_chauthtok() failed, error:
Authentication token manipulation error
chpasswd: (line 1, user pi) password not changed
```
user remains dietpi
need to run as root:
`sudo usermod -l pi dietpi`
see my output: [sdcard_build_output](sdcard_build_output.html)
The only fault appears to be with `fail2ban`
@ -58,7 +46,7 @@ The only fault appears to be with `fail2ban`
`ssh admin@[IP-OF-YOUR-DROIDBLITZ]`
password: raspiblitz
The raspiblitz GUI and setup worked I until I needed to get the blockchain data.
The raspiblitz GUI and setup worked until it needed to get the blockchain data.
On the attempt to copy the blockchain from the HDD of a Raspiblitz the ODroid did not mount the 2nd HDD properly.
It appeared as `sdb` and as `sda` after reboot:

1683
DietPi/sdcard_build_output.html

File diff suppressed because it is too large

4
build.sdcard/raspbianStretchDesktop.sh

@ -92,8 +92,8 @@ sudo apt-get upgrade -f -y --allow-change-held-packages
if [ "${baseImage}" = "dietpi" ]; then
echo ""
echo "*** PREPARE DietPi ***"
# echo "renaming dietpi user to pi"
# sudo usermod -l pi dietpi
echo "renaming dietpi user to pi"
sudo usermod -l pi dietpi
echo "install pip"
sudo apt-get update
sudo apt-get remove -y fail2ban

Loading…
Cancel
Save