7 Mar
2011
7 Mar
'11
12:19 a.m.
On Sun, 2011-03-06 at 15:18 +0100, Remy Zandwijk wrote:
userdb { driver = passwd-file args = username_format=%n /etc/passwd }
It's not a great idea to use passwd-file for /etc/passwd. I guess it usually works, but there are no guarantees of random failures when the passwd file is being modified.
You can do this better by keeping the userdb passwd, and setting:
auth_username_format = %n