Prompting for username and password together

Nikos Mavrogiannopoulos n.mavrogiannopoulos at
Thu Dec 8 03:02:47 PST 2016

On Tue, Dec 6, 2016 at 1:37 PM, Chris Libby <chris.a.libby at> wrote:
> Disclaimer:  I'm a openconnect nub and probably posting to the wrong
> list, so I will apologize up front if that's the case.  I did some
> googling for the answers below but wasn't able to find the answers
> that I have been looking for.
> Two relatively quick questions:
>  - Is there an easy way to force ocserv to prompt for the username and
> password at the same time?

No. It is designed around pam which asks one question at a time.

>  - Is there a way to integrate DUO 2FA?

I wouldn't know. It depends what interfaces the duo provides. There
were some discussions previously on this list. I think if you have a
functional pam module, it would work.


More information about the openconnect-devel mailing list