summaryrefslogtreecommitdiffhomepage
path: root/libpwdgrp
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2015-10-12 04:06:18 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2015-10-12 04:06:18 +0200
commit5de450237cf7ec63faa6ab4e019f66e053324c49 (patch)
tree1bdb7e8662c7ca4feb7daacbb56872130053d303 /libpwdgrp
parent57aeb62f837f40deafd8896d0ae49e5e51a8d795 (diff)
libpwdgrp: do not require that /etc/passwd entries have nonempty home and shell
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'libpwdgrp')
-rw-r--r--libpwdgrp/pwd_grp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libpwdgrp/pwd_grp.c b/libpwdgrp/pwd_grp.c
index 3886facf0..139b93007 100644
--- a/libpwdgrp/pwd_grp.c
+++ b/libpwdgrp/pwd_grp.c
@@ -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"