The sysutils/login_duo port
login_duo-2.2.1 – two-factor authentication for unix systems (cvsweb github mirror)
Description
login_duo provides two-factor authentication for Unix systems. When integrated with sshd(8) a challenge is sent to the users cell phone before access is granted.WWW: https://duo.com/docs/loginduo/
Readme
+-----------------------------------------------------------------------
| Running ${PKGSTEM} on OpenBSD
+-----------------------------------------------------------------------
First steps
===========
In order to use Duo Unix for two-factor authentication you have to first
sign up for an account if you don't already have one.
https://signup.duosecurity.com/
Then create a new UNIX Integration to get an integration key, secret
key, and API hostname. (See:
https://www.duosecurity.com/docs/getting_started)
Once you have this information, edit ${SYSCONFDIR}/login_duo.conf to
match your keys.
Test login_duo
==============
As a regular user, run ${PREFIX}/sbin/login_duo. You should
be provided with an enrollment link. Enroll your phone then run
${PREFIX}/sbin/login_duo again. Once you provide a valid pass
code you should get a SUCCESS message.
Enable SSH two-factor authentication
====================================
To enable two-factor authentication add
ForceCommand ${PREFIX}/sbin/login_duo
to your ${SYSCONFDIR}/ssh/sshd_config. Duo Security recommends disabling
PermitTunnel and AllowTcpForwarding when using two-factor
authentication.
When finished, restart sshd.
Maintainer
James Turner
Categories
Files
- /etc/login_duo.conf
- /usr/local/include/duo/
- /usr/local/include/duo/common_ini_test.h
- /usr/local/include/duo/duo.h
- /usr/local/include/duo/duo_private.h
- /usr/local/include/duo/shell.h
- /usr/local/include/duo/unity.h
- /usr/local/include/duo/util.h
- /usr/local/lib/pkgconfig/libduo.pc
- /usr/local/man/man3/duo.3
- /usr/local/man/man8/login_duo.8
- /usr/local/sbin/login_duo
- /usr/local/share/doc/login_duo/
- /usr/local/share/doc/login_duo/AUTHORS
- /usr/local/share/doc/login_duo/CHANGES
- /usr/local/share/doc/login_duo/CONTRIBUTING.md
- /usr/local/share/doc/login_duo/README.md
- /usr/local/share/doc/pkg-readmes/login_duo
- /usr/local/share/examples/login_duo/
- /usr/local/share/examples/login_duo/login_duo.conf