I know this won't be quick because it involves a new API endpoint too, but...
I frequently log in to servers and then want to sudo <something>
I don't always store my sudo password. Instead I depend on resetting it each time.
So...
Current Outcome
I have to log in to spinupwp.app to reset my sudo password when I want to run sudo commands
Desired Outcome
Ideally, either...
a) I could run spinupwp servers:sudo-password <user> <password> to reset the password for <user>. Or leave <password> out to have a new one generated and printed in the output.
b) (and this is the dream...) I could do this:
$ spinupwp servers:ssh 12345 --with-new-password
Your new password is: 9qknFUnNSCgfVJ1ytgDGFMlq
Establishing a secure connection to [server.com] as [ross]...
Acceptance Criteria
I know this won't be quick because it involves a new API endpoint too, but...
I frequently log in to servers and then want to
sudo <something>I don't always store my sudo password. Instead I depend on resetting it each time.
So...
Current Outcome
I have to log in to spinupwp.app to reset my sudo password when I want to run sudo commands
Desired Outcome
Ideally, either...
a) I could run
spinupwp servers:sudo-password <user> <password>to reset the password for<user>. Or leave<password>out to have a new one generated and printed in the output.b) (and this is the dream...) I could do this:
Acceptance Criteria