I´m newbe here, I have RPi2 for a week.
So, as one of first things I did reset osmc user password, suddenly a week later, I cannot login anymore. Password worked OK 2 days ago, then I did update in My OSMC to the 2015-11-02 version and osmc, neither root password working.
I spent yesterday on Google to searching for “How to reset forgotten password on osmc”, but I did not succeed.
Please can somebody advise how to reset these passwords?
Thank you very much in advance.
Have you done lots of configuration to it? If it’s pretty much a vanilla untouched install then might be easiest all round to simply reinstall. Obviously this is not really that appealing if you’ve done a whole load of customisation to it.
I login as osmc and changed password: sudo passwd osmc
I ran: sudo su - and then passwd root
I use Putty for login to the RPi2
Both passwords works OK till I ran update from My OSMC in the Kodi GUI…
I´m used to work as root, same as in the work, once Sysadmin, forever sysadamin
Is there something similar like on the full Linux the single user mode?
I ran, actually still running, the MCM over the video files on the NAS and I did not done any major configuration on the RPi2, so I guess overwrite the flash disk with OSMC imaage will the the fastest solution, isn´t it?
Ok so rather than a forgotten login it might just be an SSH problem. I don’t know if this is possible but can you try uninstalling SSH and reinstalling it via the app store?
If it was me, i’d just reinstall but i have a pretty straight forward install as well as an installation script of my setup steps so that i can be up and running again in 20mins (Except scraping my library which i can leave it doing).