<div dir="ltr">In both cases the log is showing the authentication failed:<br>[+5.14s] DEBUG: Session 15571 authentication complete with return<br>
value 7: Authentication failure<br>[+57.17s] DEBUG: Session 15831 authentication complete with return<br>
value 7: Authentication failure<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On 27 December 2012 12:07, David Edmundson <span dir="ltr"><<a href="mailto:david@davidedmundson.co.uk" target="_blank">david@davidedmundson.co.uk</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Log for user foo which should have no password having run "sudo<br>
gpasswd foo nopasswdlogin" before.<br>
<br>
[+5.13s] DEBUG: Greeter start authentication for foo<br>
[+5.13s] DEBUG: Started session 15571 with service 'lightdm', username 'foo'<br>
[+5.14s] DEBUG: Session 15571 authentication complete with return<br>
value 7: Authentication failure<br>
[+5.14s] DEBUG: Authenticate result for user foo: Authentication failure<br>
[+5.14s] DEBUG: Session 15571 exited with return value 1<br>
<br>
It's definitely doing something different, because for a regular user,<br>
I get a prompt, and a 3 second delay before authentication completes.<br>
<br>
[+54.74s] DEBUG: Greeter start authentication for david<br>
[+54.74s] DEBUG: Started session 15831 with service 'lightdm', username 'david'<br>
[+54.77s] DEBUG: Session 15831 got 1 message(s) from PAM<br>
[+54.77s] DEBUG: Prompt greeter with 1 message(s)<br>
[+54.77s] DEBUG: Continue authentication<br>
[+57.17s] DEBUG: Session 15831 authentication complete with return<br>
value 7: Authentication failure<br>
[+57.17s] DEBUG: Authenticate result for user david: Authentication failure<br>
[+57.17s] DEBUG: Session 15831 exited with return value 1<br>
<br>
Dave<br>
</blockquote></div><br></div>