summaryrefslogtreecommitdiffstats
path: root/chpass/table.c
diff options
context:
space:
mode:
authorBill Paul <wpaul@FreeBSD.org>1995-06-23 16:24:34 +0000
committerBill Paul <wpaul@FreeBSD.org>1995-06-23 16:24:34 +0000
commit2eee1f7e7f16cca1adf13343a9d0e39fad958d29 (patch)
tree47aed85cc24312bba66186bc443fe401c2865950 /chpass/table.c
parent8aca021104e452054c4f80ccd619ee2b0a62ccd0 (diff)
downloadpw-darwin-2eee1f7e7f16cca1adf13343a9d0e39fad958d29.tar.gz
pw-darwin-2eee1f7e7f16cca1adf13343a9d0e39fad958d29.tar.zst
pw-darwin-2eee1f7e7f16cca1adf13343a9d0e39fad958d29.zip
Somewhere along the line, somebody decided to make the 'full name' field
restricted. Am I the only one who sees the absurdity of having chfn be a link to chpass, and then denying users permission to use chpass to change their full names? Of course, chpass has a much more severe bug in it, which is that it allows users to change their password database info without first asking them for their password. I hope to fix this at some point so that I can merge ypchpass, ypchfn, ypchsh and chpass into one program (password authentication is required for changing NIS data).
Diffstat (limited to 'chpass/table.c')
-rw-r--r--chpass/table.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/chpass/table.c b/chpass/table.c
index c6b76b3..46a12d1 100644
--- a/chpass/table.c
+++ b/chpass/table.c
@@ -50,7 +50,7 @@ ENTRY list[] = {
{ "class", p_class, 1, 5, e1, },
{ "change", p_change, 1, 6, NULL, },
{ "expire", p_expire, 1, 6, NULL, },
- { "full name", p_gecos, 1, 9, e2, },
+ { "full name", p_gecos, 0, 9, e2, },
{ "office phone", p_gecos, 0, 12, e2, },
{ "home phone", p_gecos, 0, 10, e2, },
{ "location", p_gecos, 0, 8, e2, },