~ob/slock

4b4fcca1bc3a05e0a4bb5453dfe6dbd84a54b071 — anselm@garbe.us 9 years ago c1507cd
added Ben's password placeholder entry kludge
1 files changed, 1 insertions(+), 1 deletions(-)

M slock.c
M slock.c => slock.c +1 -1
@@ 56,7 56,7 @@ getpw(void) { /* only run as root */
	rval =  pw->pw_passwd;

#if HAVE_SHADOW_H
	{
	if (strlen(rval) >= 1) { /* kludge, assumes pw placeholder entry has len >= 1 */
		struct spwd *sp;
		sp = getspnam(getenv("USER"));
		if(!sp)