I'm trying to setup an 1st gen AppleTV as an announcements presenter where the screensaver shows graphics that have been uploaded to it via a XAMPP Apache/PHP file manager. The problem is that when the files are updated/removed/changed the screensaver goes black for old images that have been removed and won't show new images until the screensaver is restarted (to be expected.) I need the XBMC screensaver restarted and the only way I know how to do that remotely is to login via SSH and issue a "shutdown -r now" command. I don't want to be doing that at all and I want to be able to remotely control the AppleTV from just the web interface so that I can mount the AppleTV out of the reach of everybody but still control it.
I also need to completely secure it by changing the "frontrow" account password.
I'm at a standstill for completing what I'm trying to do because there are 2 very important commands that are completely missing from the AppleTV, "su" and "passwd".
I need "su", not "sudo". I know you'll suggest sudo, but it absolutely will not work for what I'm trying to do with the web interface scripts, trust me, I already tried it, even the old suggestions of "echo 'password' | sudo -S [some-command". "sudo" is really only for terminal interaction and I can't use it to login to another account from a shell script that is started with an account that doesn't have a password or is allowed to use "sudo" (the "nobody" account used for Apache server). I need a working version of "su" on my AppleTV plain-and-simple. No substitutes. I've tried using versions of "su" from intel macs and non-intel macs but the AppleTV complains about all of them not working for the current processor.
I also need "passwd" so I can change the default password on the "frontrow" account to secure it, but again, all the ones I tried from different Macs cause complaints about the architecture.
Is there version of those binaries that I can download from somewhere that are known to work on 1st gen Apple TVs?



1Likes
LinkBack URL
About LinkBacks








Reply With Quote

Bookmarks