X-Git-Url: https://git.cameronkatri.com/pw-darwin.git/blobdiff_plain/15898a97e3f1366a56d5fa9d53743f716eb31110..23bd0535f2a4c1caf758c194ea275546b253e57f:/chpass/table.c diff --git a/chpass/table.c b/chpass/table.c index 46a12d1..572977f 100644 --- a/chpass/table.c +++ b/chpass/table.c @@ -32,7 +32,7 @@ */ #ifndef lint -static char sccsid[] = "@(#)table.c 8.3 (Berkeley) 4/2/94"; +static const char sccsid[] = "@(#)table.c 8.3 (Berkeley) 4/2/94"; #endif /* not lint */ #include @@ -50,10 +50,15 @@ ENTRY list[] = { { "class", p_class, 1, 5, e1, }, { "change", p_change, 1, 6, NULL, }, { "expire", p_expire, 1, 6, NULL, }, +#ifdef RESTRICT_FULLNAME_CHANGE /* do not allow fullname changes */ + { "full name", p_gecos, 1, 9, e2, }, +#else { "full name", p_gecos, 0, 9, e2, }, +#endif { "office phone", p_gecos, 0, 12, e2, }, { "home phone", p_gecos, 0, 10, e2, }, - { "location", p_gecos, 0, 8, e2, }, + { "office location", p_gecos, 0, 15, e2, }, + { "other information", p_gecos, 0, 11, e1, }, { "home directory", p_hdir, 1, 14, e1, }, { "shell", p_shell, 0, 5, e1, }, { NULL, 0, },