I updated the firmware because it included an updated Twonky server. Then found that I could no longer log in through ssh (non admin/root user) and was receiving a bash shell error. I assumed this had something to do with the update. Didn't think it was a big deal at the time.
I also can't log in using root as I am using the AllowUsers option of ssh and don't have root listed (I know I should have added my net info so I would be able to login as root locally, but I hadn't had time to look into doing it..).
So I figure I'm hosed and decide it wouldn't be too hard to start over. I reset to factory defaults. After the initial setup I enable ssh and root from the web interface and try to log in again. This doesn't work. I look at the logs and see the same error as before: User root not allowed because not listed in AllowUsers . It appears that the factory reset didn't change this file back to the original file as it was when it was new..
Okay. Not a big deal, created a new user and logged into ssh. Tried sudo vi /etc/sshd_config and get: -sh: sudo: not found . Okay, try su and get: -sh: su: not found . So I can't run as an elevated user to change this, or make any relevant changes to the system files. I also can't install optware as I had it before.
So I need help either:
1) Resetting this device properly such that all files are set to their originals.
2) Finding su/sudo or finding a way to install them to /opt/ so that I can run them.
3) Finding another way to edit files-maybe in the web interface.
4) Using a live disk and editing the file.
Any ideas on what I can try or where I can start? I'd love to know if there is a better way to reset this device as it is strange to me that I no longer have su or sudo available.. Makes me wonder what else might now be missing..
Thanks in advanced.