On Friday 24 April 2009 09.28.34 you wrote: > omg we have finger print reader support??? ! > > I installed the port and I'm playing with it. Can you post your full > config? The login_fingerprint docs are short on the troubleshooting. I > can enroll my fingers and I've got su asking me for finger swipes but > whenever I do it says "invalid swipe" or "login incorrect". You need to enroll_fingerprint(8) as the target (root) user too, so root will have a ~/.fprint directory too.
> I see the same result as you with sudo. Annoying. Sudo must not be > feeding it correctly right, but perhaps login_fingerprint is expecting > wrongly. > > It would be a neat gimmick if we could get this working! I just followed /usr/local/share/doc/login_fingerprint/README: $ enroll_fingerprint -f 7 It has populated a ~/.fprint/ dir with the scanned fingerprint, and after the login.conf modify I could login on the console and do `su`. Only sudo seems to need the '-apasswd' option to force it to use the passwd auth type instead of the -fingerprint type. But grepping thru sudo's source I couldn't find this error message anywhere :\ My modifications in login.conf is only the following: --- /var/backups/etc_login.conf.backup Thu Apr 16 16:06:00 2009 +++ /etc/login.conf Thu Apr 23 17:15:23 2009 @@ -23,7 +23,8 @@ # # Default allowed authentication styles -auth-defaults:auth=passwd,skey: +auth-defaults:auth=-fingerprint,passwd,skey:\ + :x-fingerprint=7: # Default allowed authentication styles for authentication type ftp auth-ftp-defaults:auth-ftp=passwd: Daniel > On 23/04/2009, LEVAI Daniel <[email protected]> wrote: [...] > > $ sudo -l > > -fingerprint: challenge not supported > > sudo password(daniell): > > -fingerprint: response not supported > > Sorry, try again. > > -fingerprint: challenge not supported > > sudo password(daniell): > > -fingerprint: response not supported > > Sorry, try again. > > -fingerprint: challenge not supported > > sudo password(daniell): > > -fingerprint: response not supported > > Sorry, try again. > > sudo: 3 incorrect password attempts [...] -- LIVAI Daniel PGP key ID = 0x4AC0A4B1 Key fingerprint = D037 03B9 C12D D338 4412 2D83 1373 917A 4AC0 A4B1

