libpwdgrp: do not require that /etc/passwd entries have nonempty home and shell
authorDenys Vlasenko <vda.linux@googlemail.com>
Mon, 12 Oct 2015 02:06:18 +0000 (04:06 +0200)
committerDenys Vlasenko <vda.linux@googlemail.com>
Mon, 12 Oct 2015 02:06:18 +0000 (04:06 +0200)
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
libpwdgrp/pwd_grp.c

index 3886facf0af77fe4a6b19c590e6bb4669f099a27..139b93007e0463918de28b8b45c7b7660c530308 100644 (file)
@@ -58,7 +58,7 @@ struct passdb {
  * I = uid,gid, l = long maybe empty, m = members,
  * r = reserved
  */
-#define PW_DEF "SsIIsSS"
+#define PW_DEF "SsIIsss"
 #define GR_DEF "SsIm"
 #define SP_DEF "Ssllllllr"