Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I'm looking for a Linux pam module that accepts any password for connections from a specific IP. I don't want to disable passwords completely.

I need it for migration from one imap server to another (cyrus to zimbra) without knowing every password. I used such a module some six years ago. That was for imap migration too. Unfortunately I cannot recall the name of the module and can't find it by other means either.

Any pointers?

share|improve this question
add comment

1 Answer 1

Look at the pam_exec module -- this lets you run an external command, and if that command returns success then the module passes. So you could pass it a small shell script do check the source IP address, and you are good to go.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.