Re: LDAP Password Security

LE BOUTER Leo <[email protected]> Tue, 7 Apr 2020 15:09:25 +0000
Newsgroups gmane.comp.tools.sudo.user
Message-ID <793937D9F3A7EA49BCD7227F32C8138BB447D7@BBS-EXCMBX-P005.wprod.ds.aphp.fr>
TOTP for sudo auth sounds good, as long as the TOTP private key isnt on each and every server.

Thanks, I'll study the various PAM modules more in depth.

Leo Le Bouter
Ingenieur Securite Infrastructure
Entrepot de Donnees de Sante (WIND)

________________________________________
From: Todd C. Miller [[email protected]]
Sent: Tuesday, April 07, 2020 4:50 PM
To: LE BOUTER Leo
Cc: Michael Ströder; [email protected]
Subject: Re: [sudo-users] LDAP Password Security

On Tue, 07 Apr 2020 14:25:34 -0000, LE BOUTER Leo wrote:

> I was comparing sudo to how SSO would work on the web.
> SSO on the web uses an Identity Server that only gives a service
> specific temporary token, not the user's password.  Here, users
> have to give their password to each server that has sudo installed.

On most systems, sudo uses PAM for authentication.  You can configure
it to use a different authentication method by editing the sudo PAM
configuration.  Usually this is stored in /etc/pam.d/sudo.

There are a variety of PAM modules that support different SSO
schemes.  For example, pam_totp can be used with time-based one-time
password systems.

Sudo 1.9.0 will support an additional approval plugin which could
be used to implement separate authentication or approval schemes,
but I think you can achieve what you want with just the PAM
configuration.

 - todd
____________________________________________________________
sudo-users mailing list <[email protected]>
For list information, options, or to unsubscribe, visit:
https://www.sudo.ws/mailman/listinfo/sudo-users