v18 LibreELEC Testbuilds for RaspberryPi (Kodi 18.0)
(2017-12-12, 00:59)MikeKL Wrote: I have not attempted to delete shadow files yet via samba and Windows PC to regain access and controil via ssh (both files then reboot?)

Yes both files (shadow- is a backup of the original shadow file prior to any modification, but there's no benefit to be had from keeping it).

(2017-12-12, 00:59)MikeKL Wrote: and not sure what to look for in log files for clues on why I get access denied when trying to login via ssh
I can see sshd is running, and I see two failed password attempts in the latest journalctl:
Code:
Dec 11 22:23:02 LibreELEC sshd[1072]: Failed password for root from 192.168.1.35 port 54113 ssh2
Dec 11 22:23:17 LibreELEC sshd[1072]: Failed password for root from 192.168.1.35 port 54113 ssh2
so it looks like you are entering an incorrect password. Have you tried entering both the old ("libreelec") and new passwords?

I don't know what ssh client you are using, but I'm using PuTTY (Windows app) and when I enter an incorrect password it shows "Permission denied", so it's entirely possible your "Access denied" error is actually an incorrect password, possibly because the shadow file contains garbage, or it's changed back to the default.

You could try viewing the shadow file - it should look similar to the following (which is the default - your "root" line will be different if you've changed the password):
Code:
systemd-network:*:::::::
root:$6$sY7aGbTxcU2ZeqDN$Rlb40DOjy8JbyvH052FGYMTcWWRFZaPvvdFiqFeYgGBklDGxivnDBGeW2fia94RzyYZbyXpBLwltV/JaDc7Op/:::::::
nobody:*:::::::
dbus:*:::::::
system:*:::::::
avahi:*:::::::

Try deleting the shadow file - it will be recreated with the default "libreelec" password.

I have just submitted another PR so that LibreELEC will always overwrite the shadow file with default settings if it appears that the shadow file contains garbage (ie. is missing the entry for root), and this will be in #1212. This should fix your issue, restoring the default password, assuming your shadow file has become corrupted after the power loss.
Texture Cache Maintenance Utility: Preload your texture cache for optimal UI performance. Remotely manage media libraries. Purge unused artwork to free up space. Find missing media. Configurable QA check to highlight metadata issues. Aid in diagnosis of library and cache related problems.


Messages In This Thread
WD MyCloud - by crisp waffles - 2017-09-06, 03:11
No 3D Playback since Version - by Mike74 - 2017-10-09, 19:25
Migrating from RPi2 to RPi1 - by RappaSan - 2017-11-10, 14:45
RE: Migrating from RPi2 to RPi1 - by Milhouse - 2017-11-10, 21:06
RE: Migrating from RPi2 to RPi1 - by RappaSan - 2017-11-11, 09:17
RE: LibreELEC Testbuilds for RaspberryPi (Kodi 18.0) - by Milhouse - 2017-12-12, 03:20
Resolution broken after 0415 - by lozbrown85 - 2018-04-20, 11:48
popt 1.16 - by n0n4m3 - 2018-06-29, 00:28
RE: popt 1.16 - by Milhouse - 2018-06-29, 06:39
A plugin to be resurrected - by ArminiusTux - 2018-10-22, 22:02
RE: A plugin to be resurrected - by Milhouse - 2018-10-23, 02:46
Logout Mark Read Team Forum Stats Members Help
LibreELEC Testbuilds for RaspberryPi (Kodi 18.0)24