Package: libpam-rsa
Version: 0.8-9-2.2

Debian squeeze 6.0.2

Short:
Jul 16 09:45:05 good login[793]: pam_rsa: alert: line 14: malformed 
'pam_prompt Please enter your passphrase'

I think pam_prompt should not contain spaces, i tried "pam_prompt Passphrase:" 
this works fine.

Long:
normal install via apt on a Debian Squeeze
Writing auto-generated /etc/security/pam_rsa.conf 

### PASTE orginal package generated config ###
# pam_rsa.conf Configuration file for libpam-rsa.                               
                                                                                
                                                                                
                             
#                                                                               
                                                                                
                                                                                
                             
# This file must exist and be readable.                                         
                                                                                
                                                                                
                             
# Your manual changes will be preserved on upgrades.                            
                                                                                
                                                                                
                             
#
# Please read pam_rsa (8) for further instructions.
#
# Note: dpkg-reconfigure will not update a key that is not
# defined in this file.

pubkey_dir /var/lib/pam-rsa
privkey_dir /media/usbdisk
privkey_name_hash sha1
pam_prompt Please enter your passphrase
log_auth_result true

###

generated the keys configed pam and rebooted

when i login it will fail.

### PASTE auth.log

Jul 16 09:45:05 good login[793]: pam_rsa: alert: line 14: malformed 
'pam_prompt Please enter your passphrase'
Jul 16 09:45:05 good login[793]: pam_rsa: alert: 1 error while processing 
configuration file /etc/security/pam_rsa.conf
Jul 16 09:45:07 good login[793]: FAILED LOGIN (1) on '/dev/tty1' FOR 'root', 
Error in service module

###

I think pam_prompt should not contain spaces, i tried "pam_prompt Passphrase:" 
this works fine.

### patchfile
root@good:/etc/security# cat pam_rsa.patch 
--- orig_pam_rsa.conf   2011-07-16 09:51:01.000000000 +0000
+++ pam_rsa.conf        2011-07-16 09:55:46.000000000 +0000
@@ -11,5 +11,5 @@
 pubkey_dir /var/lib/pam-rsa
 privkey_dir /media/usbdisk
 privkey_name_hash sha1
-pam_prompt Please enter your passphrase
+pam_prompt Passphrase:
 log_auth_result true
###

I hope this helps a bit and you can fix it 



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to