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

Problem with sudo in combination with fingerprint reader #14

Closed
poleprogger opened this issue Sep 23, 2016 · 4 comments
Closed

Problem with sudo in combination with fingerprint reader #14

poleprogger opened this issue Sep 23, 2016 · 4 comments
Labels

Comments

@poleprogger
Copy link

: Collecting data...
:: Compiling user configuration...
::: Using configuration in /home/mj/.config/aconfmgr
::: Sourcing /home/mj/.config/aconfmgr/10-ignore.sh...
::: Done (0 native packages, 0 foreign packages, 0 files).
:: Inspecting system state...
::: Querying package list...
:::: Done.
::: Enumerating managed files...
:::: Done.
::: Searching for lost files...
:::: Done (426 lost files).
::: Searching for modified files...
........
:::: Done (39 modified files).
::: Reading file attributes...
:::: Reading file types...
stat: cannot stat 'Swipe your finger across the fingerprint reader': No such file or directory
:::: Fatal error! Stack trace:
::::: /usr/lib/aconfmgr/common.bash:1 [AconfCompileSystem]
::::: /usr/lib/aconfmgr/common.bash:452 [AconfCompile]
::::: /usr/lib/aconfmgr/save.bash:9 [AconfSave]
::::: /usr/bin/aconfmgr:164 [Main]
::::: /usr/bin/aconfmgr:178 [main]

The message "Swipe your finger across the fingerprint reader" normally appears when i run sudo. So this error does not happen when i run sudo before the 'aconfmgr save' command.

@CyberShadow
Copy link
Owner

CyberShadow commented Sep 23, 2016

Hmm... that might be a bug in the PAM module or whatever is outputting the message. I believe it should be printed to stderr, whereas it is being printed to stdout. For example, the usual password prompt message is printed to stderr.

Do you know what component that message comes from?

Edit: perhaps that was a bit hasty, and this is normal PAM behavior after all.

@poleprogger
Copy link
Author

The PAM module is called pam_fprintd.so and i have added it to
/etc/pam.d/login
""/sudo
with the following line:
auth sufficient pam_fprintd.so

@CyberShadow
Copy link
Owner

I filed an issue in sudo's bugtracker:
https://bugzilla.sudo.ws/show_bug.cgi?id=895

Though, it seems unlikely that it will get a reply. Most issues filed there seem to be ignored.

@CyberShadow
Copy link
Owner

Well, this was actually fixed in sudo. :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants