timberline-secondary / hackerspace-scripts

Scripts for managing the Hackerspace's network
1 stars 2 forks source link

provide pi-slideshow password #32

Open tylerecouture opened 6 years ago

tylerecouture commented 6 years ago

no need to ask for this defaul non-secret pw

PederSkaaravik commented 6 years ago

we put one on because any students could upload to the TV's, are they allowed to now?

tylerecouture commented 6 years ago

There could still be a password, but if run through the control panel, the control panel should provide it so it doesn't have to be manually entered.

tylerecouture commented 6 years ago

And, so the password isn't public on github, you can use bash (or python) to check for the existence of a ".password" file that contains the password, and if it doesn't exist, prompt the user for the password and then create it (with appropriate read permissions). If it does exist, read it and use the password.