[PATCH 1/2] Support changing expired passwords

2016-04-25 Thread Joakim Tjernlund
This adds support for handling expired passwords in the server. Client remains to do. Signed-off-by: Joakim Tjernlund <joakim.tjernl...@infinera.com> --- auth.h| 1 + svr-auth.c| 21 + svr-authpam.c | 52 +

[PATCH 2/2] Support changing expired passwords in client

2016-04-25 Thread Joakim Tjernlund
This adds support for handling expired passwords in the client. Signed-off-by: Joakim Tjernlund <joakim.tjernl...@infinera.com> --- auth.h | 1 + cli-auth.c | 8 ++- cli-authpasswd.c | 71 3 files chang

Re: dropbear and PAM_NEW_AUTHTOK_REQ ?

2016-04-25 Thread Joakim Tjernlund
Cheers, > Matt > > > > > On Fri 22/4/2016, at 1:30 pm, Joakim Tjernlund > > <joakim.tjernl...@infinera.com> wrote: > > > > On Tue, 2016-04-19 at 12:59 +0200, Joakim Tjernlund wrote: > > > > > > Just had a look at adding support for

Re: patch: a deficiency in pam support

2016-09-19 Thread Joakim Tjernlund
I just (dry) ported them to: https://github.com/joakim-tjernlund/dropbear/commits/expired_passwd Hopefully these can be added to dropbear. You might want to build kerberos upon that  Jocke > > sed -i.orig ' > /\/\* successful authentication \*\//i\ > if ((rc = pam_setcred(pamHan

Re: dropbear and new host keys?

2019-12-12 Thread Joakim Tjernlund
On Thu, 2019-12-12 at 13:31 +, Geoff Winkless wrote: > > On Wed, 11 Dec 2019 at 17:00, Joakim Tjernlund > wrote: > > In out case we cannot just restart dropbear and rebooting just for new keys > > is not an option either. > > Could dropbear gain automatic rer

Re: dropbear and new host keys?

2019-12-12 Thread Joakim Tjernlund
On Wed, 2019-12-11 at 18:00 +0100, Joakim Tjernlund wrote: > On Wed, 2019-12-11 at 23:53 +0800, Matt Johnston wrote: > > Hi Joakim, > > > > The server needs to be stopped and restarted. If this is for new keys at > > first-boot you could look at the -R optio

Re: dropbear and new host keys?

2019-12-11 Thread Joakim Tjernlund
reason. Ideally the next new session should read the new keys automatically. In out case we cannot just restart dropbear and rebooting just for new keys is not an option either. Could dropbear gain automatic reread of keys ? Jocke > > Cheers, > Matt > > On Wed, Dec 11, 20

dropbear and new host keys?

2019-12-11 Thread Joakim Tjernlund
Is there a way to tell a running dropbear server to reread host keys if the keys has changed? Jocke

Re: dropbear and new host keys?

2019-12-12 Thread Joakim Tjernlund
he new hostkeys, kill the main dropbear and start > it again. > Should be a very simple script... and the current running sessions are not > affected. > > Hans > > > On Thu, Dec 12, 2019 at 2:58 PM Joakim Tjernlund > wrote: > > On Thu, 2019-12-12 at 13:31 +,

Re: dropbear and new host keys?

2019-12-19 Thread Joakim Tjernlund
On Mon, 2019-12-16 at 22:16 +0800, Matt Johnston wrote: > > > On Fri 13/12/2019, at 2:14 am, Joakim Tjernlund > > wrote: > > > > On Thu, 2019-12-12 at 18:34 +0100, Hans Harder wrote: > > > > The bigger issue here is why not reread keys at every n