pam_ssh_agent_auth icon indicating copy to clipboard operation
pam_ssh_agent_auth copied to clipboard

How to define username?

Open aubreybox opened this issue 7 years ago • 1 comments

Hello I want to try to use that module for authenticating with pam and sasl. Is it possible to affect the username so that I can bind a (maybe different) username to a public key? Is there any documentation on how to adapt this module?

Basically the idea is that bob@client connects password less to alice@server without actively mentioning he's alice - that information would be stored serverside (e.g. username:key-database)

aubreybox avatar May 20 '18 22:05 aubreybox

I think this may be provided by another pam module called pam_alias. Note that the order in the pam stack would matter a great deal since this module uses PAM_USER and PAM_RUSER.

Also, I'm incredibly intrigued about your use case. If you get this working, would you mind giving more details on how you're using this with sasl?

Thanks!

jbeverly avatar May 23 '18 06:05 jbeverly