Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PAM module for loading keys via ssh-add #2469

Closed
wants to merge 8 commits into from

Conversation

petervo
Copy link
Contributor

@petervo petervo commented Jul 8, 2015

No description provided.

@petervo
Copy link
Contributor Author

petervo commented Jul 8, 2015

Depends on #2448

@petervo
Copy link
Contributor Author

petervo commented Jul 8, 2015

Unit tests and docs are still in progress.

@@ -251,6 +251,7 @@ include src/static/Makefile-static.am
include src/remotectl/Makefile-remotectl.am
include src/reauthorize/Makefile-reauthorize.am
include src/selinux/Makefile-selinux.am
include src/auto-ssh-agent/Makefile-auto-agent.am
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggest just calling this Makefile.am. The longer names are a hold over from old code.

@stefwalter
Copy link
Contributor

This needs documentation in doc/guide ... probably a whole new file about ssh authentication.

@petervo
Copy link
Contributor Author

petervo commented Jul 9, 2015

Addressed most of the issues, except it running as unconfined_t, still trying to figure that one out.

@petervo petervo force-pushed the pam-module branch 3 times, most recently from 62c7b85 to ba70c91 Compare July 10, 2015 06:22
@petervo petervo force-pushed the pam-module branch 2 times, most recently from 1bc7241 to 4ff78b4 Compare August 25, 2015 03:34
@petervo
Copy link
Contributor Author

petervo commented Aug 25, 2015

Brought in changes from your branch @stefwalter. had to make a few small changes to get it to work. Hopefully i didn't break logging again. I also changed the commands to launch with sh -c as discussed on IRC.

# Config
# sh
AC_PATH_PROG([SH], [sh], [/usr/bin/sh], [$PATH:/usr/local/sbin:/usr/sbin:/sbin])
AC_DEFINE_UNQUOTED([PATH_SH], ["$SH"], [Location of sh binary])
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The path to the bourne shell is always /bin/sh. You can hard code this. We don't need to check for it. Alternatively you can #include <paths.h> and use _PATH_BSHELL

@petervo
Copy link
Contributor Author

petervo commented Aug 25, 2015

Made the suggested changes.

@petervo petervo closed this in 7d6cef4 Aug 26, 2015
petervo added a commit that referenced this pull request Aug 26, 2015
Closes #2469
Reviewed-by Stef Walter <stefw@redhat.com>
@petervo petervo deleted the pam-module branch August 26, 2015 21:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants