AmpliPi icon indicating copy to clipboard operation
AmpliPi copied to clipboard

Create & ship a localhost script that (un/)sets the frontend admin password

Open rtertiaer opened this issue 2 years ago • 4 comments

You should be able to remove or reset the admin password from the command line.

rtertiaer avatar Dec 04 '23 19:12 rtertiaer

This might also be good to add to the Admin Panel added in #828, have the script be accessible via an endpoint and a subprocess wrapper as well

SteveMicroNova avatar Oct 15 '24 20:10 SteveMicroNova

This might also be good to add to the Admin Panel added in https://github.com/micro-nova/AmpliPi/pull/828, have the script be accessible via an endpoint and a subprocess wrapper as well

how is this any different from the existing admin password un/setting in the admin panel?

rtertiaer avatar Nov 04 '24 16:11 rtertiaer

I don't view that password change thing as an "admin password", it is only used for the frontend and is not used for any of the internals; it is not used to ssh, it is not used for sudo, as far as I know all it does is simply lock down the frontend until you enter the password.

SteveMicroNova avatar Nov 04 '24 16:11 SteveMicroNova

ah, sorry, I didn't make this ticket terribly clear; I'll edit. This ticket is to add a script to reset the frontend password from the backend. The way you reset a UNIX user password on the command line is a command called passwd - no need for a 'script' :)

rtertiaer avatar Nov 06 '24 16:11 rtertiaer