Alon Ziv
2002-Sep-08 13:41 UTC
Help needed: strange error in PAM-SSH integration module...
Hi all, Just for my own fun, I decided to write a small PAM module that will automatically start ssh-agent on session open (and add the default keys), and kill the agent upon session close. Well, writing this was a breeze; however, for some odd reason, it doesn't work... I'm stumped. I'll try again tomorrow. But meanwhile, attached is my current version; it has to be compiled inside an already-built openssh distribution, then installed by hand and added to /etc/pam.d/<whatever> as session required /lib/security/pam_ssh_add.so If anyone there has an idea and wants to help, I'll be overjoyed! -Alon Ziv [PS: I am not a member of the mailing lists; please make sure to reply directly to me... Thanks!] -------------- next part -------------- A non-text attachment was scrubbed... Name: Makefile.pam_module Type: text/x-makefile Size: 1407 bytes Desc: not available Url : http://lists.mindrot.org/pipermail/openssh-unix-dev/attachments/20020908/051179e5/attachment.bin -------------- next part -------------- A non-text attachment was scrubbed... Name: pam_ssh_add.c Type: text/x-csrc Size: 6744 bytes Desc: not available Url : http://lists.mindrot.org/pipermail/openssh-unix-dev/attachments/20020908/051179e5/attachment-0001.bin
Maybe Matching Threads
- [Bug 3736] New: sshd falls back to password prompt after PAM module returns a PAM_MAXTRIES.
- Re: [S] LME - fixed effects model and missing values
- hash table access, vector access &c
- Lempel—Ziv complexity
- Re: [PATCH 6/6] customize: add basic subscription-manager operations