Hi,
This (relatively old) bug asks if it exists in a pure environment. It
does seem to exist in 1.3-2 on a pure squeeze system.
If telnetd is used, it works; if sshd, then the session module returns an
error which is logged as per the original report.
I (1) installed a fresh squeeze inside
Hi,
as a workaround it is possible to use something like
if [ "$SSH_TTY" -a -f $HOME/.otpw ]; then
PW_LINES=$(wc -l <$HOME/.otpw)
PW_USED=$(grep -- $HOME/.otpw | wc -l)
echo "OTPW $PW_USED/`echo $PW_LINES-2 | bc` used"
fi
It works, when you use otpw with ssh.
Kind regards,
Wolfgang
--
On Sun, 2007-09-02 at 21:41 +0100, Matthew Johnson wrote:
> tag 440516 unreproducible
> thanks
>
> On Sun Sep 02 12:34, Sam Morris wrote:
> > The session module functionality of pam_otpw does not work.
>
> Hi, thanks for the bug report. It works fine for me on up-to-date sid:
>
> [EMAIL PROTECT
tag 440516 unreproducible
thanks
On Sun Sep 02 12:34, Sam Morris wrote:
> The session module functionality of pam_otpw does not work.
Hi, thanks for the bug report. It works fine for me on up-to-date sid:
[EMAIL PROTECTED]:~$ grep otpw /etc/pam.d/common-session
session optional pam_otpw.so
[
Package: libpam-otpw
Version: 1.3-1
Severity: important
The session module functionality of pam_otpw does not work.
In /etc/pam.d/ssh I have:
session optional pam_otpw.so
But when I log in, I am not told how many passwords I have left.
Instead, the following is logged to syslog at error prior
5 matches
Mail list logo