I gave up trying to make a 'joggler' user - giving 'NOPASSWD' sudo
access to specific directories seemed to prevent the 'sudo -E' option
(to pass environment variables) from working, so the only option seemed
to be to give 'NOPASSWD' access to every command, and that didn't seem
any more secure than running as root.  So for now I'm sticking with
running everything as root.  But I did move all the executables and
scripts out of the /root folder into the /opt folder, with a view to
having another go at creating a 'joggler' user in the future.

I've made a test image that can be loaded into the internal flash
storage of the Joggler.  It's available at www.cjh.me.uk/joggler.  You
can flash this to your Joggler using the reflash system available from
Andy Davison's ''Birdslikewires'
(https://birdslikewires.net/openframe-flash)' website.  Make a USB stick
from his reflash image, then copy the two files (the compressed image
and the MD5 file) into the 'reflash' directory of the USB sick, and boot
the Joggler with this USB stick inserted.  The password for 'root' is
'joggler'.  If you're worried about security you can SSH into the
Joggler and use the 'passwd' command to change the password.

I've tested the image on a fresh Joggler and it all seems to function. 
I'm reasonably confident that I've managed to erase any traces of my
wifi credentials, but if you find them I'd appreciate a PM rather than a
forum post!

Hopefully you'll find the build fairly intuitive. When it starts up you
need to select the language, then it will show you the home menu. There
won't be much on that home menu until it connects to your network and
finds your LMS. So go straight for the 'Settings' > 'Network' menu and
choose your interface/enter your credentials etc, then 'apply and
reboot'. The menus will populate when you then select a player from the
'Choose Player' menu.

Squeezelite will be disabled initially - if you want to enable it go to
'Settings' > 'Squeezelite'. If you have a USB DAC plugged in, select one
of the output devices that it offers, if not, just go with the
'sysdefault:CARD=MID' option, which is the built-in analog device.
Squeezelite will initially be named 'Joggler', but if you select it as
the current player with the 'Choose Player' menu, you can then use
'Settings' > 'Squeezebox Name' to rename it, and the new name will be
written to /boot/JogglerPlayerName the next time the player is stopped
(not paused).

Any personal wallpapers need to go into
/opt/jivelite/share/jive/applets/SetupWallpaper/wallpaper

I'd welcome any feedback.


------------------------------------------------------------------------
chill's Profile: http://forums.slimdevices.com/member.php?userid=10839
View this thread: http://forums.slimdevices.com/showthread.php?t=110040

_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/unix

Reply via email to