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

tools/pamusb-conf: tighten --add-device logic #30

Merged
merged 1 commit into from
Apr 27, 2016
Merged

tools/pamusb-conf: tighten --add-device logic #30

merged 1 commit into from
Apr 27, 2016

Conversation

cdituri
Copy link
Contributor

@cdituri cdituri commented Apr 16, 2016

Prevent pamusb-conf from creating a new device when that new device
collides with an existing node in the pam_usb configuration file.


Hit issue #14 and, after fixing per the comments, dug into the source and noticed that pamusb-conf will happily add colliding entries with --add-device=<name>. This patch prevents those collisions from happening.

Prevent pamusb-conf from creating a new device when that new device
collides with existing node in the pam_usb configuration file.
@aluzzardi
Copy link
Owner

@cdituri Thanks!

@aluzzardi aluzzardi merged commit 40b17fa into aluzzardi:master Apr 27, 2016
@cdituri cdituri deleted the tighter--add-device-logic branch October 6, 2016 22:31
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.

2 participants