diff options
author | thepish <thepish@FreeBSD.org> | 1998-08-14 03:18:32 +0000 |
---|---|---|
committer | thepish <thepish@FreeBSD.org> | 1998-08-14 03:18:32 +0000 |
commit | 4d38049ad4475304f4c0359f2ea2482283bf2f46 (patch) | |
tree | 91d3cec3ca60c8aee2afade713d3f743eaddbede /usr.bin/chpass/table.c | |
parent | 34dae5c76bd6cded637315239efb465b6632d17a (diff) | |
download | FreeBSD-src-4d38049ad4475304f4c0359f2ea2482283bf2f46.zip FreeBSD-src-4d38049ad4475304f4c0359f2ea2482283bf2f46.tar.gz |
Submitted by: Peter Hawkins <thepish@FreeBSD.org>
Add functionality for support for more than 4 subfields within gcos. chsh,
chpass etc did not parse beyond the 4th field previously and so truncated
gcos on updating the database.
Diffstat (limited to 'usr.bin/chpass/table.c')
-rw-r--r-- | usr.bin/chpass/table.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/usr.bin/chpass/table.c b/usr.bin/chpass/table.c index 3363e1d..eed097e 100644 --- a/usr.bin/chpass/table.c +++ b/usr.bin/chpass/table.c @@ -58,6 +58,7 @@ ENTRY list[] = { { "office phone", p_gecos, 0, 12, e2, }, { "home phone", p_gecos, 0, 10, e2, }, { "location", p_gecos, 0, 8, e2, }, + { "other information", p_gecos, 0, 11, e1, }, { "home directory", p_hdir, 1, 14, e1, }, { "shell", p_shell, 0, 5, e1, }, { NULL, 0, }, |