Re: Entering a passphrase interactively in a runit script

From: Steve Litt <slitt_at_troubleshooters.com>
Date: Fri, 27 May 2016 15:00:40 -0400

On Fri, 27 May 2016 18:45:09 +0200
Laurent Bercot <ska-supervision_at_skarnet.org> wrote:

> On 27/05/2016 18:29, Steve Litt wrote:
> > 2) Have the daemon that needs to receive the password listen on a
> > socket, and have a front end program (could be telnet) ask the
> > human for the password. This could be expanded to provide other
> > communication between the daemon and the human.
>
> That wouldn't work here: in the client-server model, the client is
> proactive (it initiates the connection) and the server is reactive.
> Here, you want the "server" to actively ask the user for something!

Yes, I was thinking of making it the human's responsibility to remember
to run the client. In certain situations, that might be reasonable.
 
SteveT

Steve Litt
May 2016 featured book: Rapid Learning for the 21st Century
http://www.troubleshooters.com/rl21
Received on Fri May 27 2016 - 19:00:40 UTC

This archive was generated by hypermail 2.3.0 : Sun May 09 2021 - 19:44:19 UTC