[hackers] [slock] Update bsd-auth string. || Markus Teich
commit b87bfa234378bcfc1b13273c5089f07902de1725
Author: Markus Teich <markus.teich_AT_stusta.mhn.de>
AuthorDate: Wed Aug 31 00:56:13 2016 +0200
Commit: Markus Teich <markus.teich_AT_stusta.mhn.de>
CommitDate: Wed Aug 31 00:56:13 2016 +0200
Update bsd-auth string.
Thanks to Hiltjo for discovering this.
diff --git a/slock.c b/slock.c
index dd32374..847b328 100644
--- a/slock.c
+++ b/slock.c
_AT_@ -157,7 +157,7 @@ readpw(Display *dpy, const char *pws)
case XK_Return:
passwd[len] = 0;
#ifdef HAVE_BSD_AUTH
- running = !auth_userokay(getlogin(), NULL, "auth-xlock", passwd);
+ running = !auth_userokay(getlogin(), NULL, "auth-slock", passwd);
#else
running = !!strcmp(crypt(passwd, pws), pws);
#endif
Received on Wed Aug 31 2016 - 00:57:58 CEST
This archive was generated by hypermail 2.3.0
: Wed Aug 31 2016 - 01:00:16 CEST