summaryrefslogtreecommitdiffstats
path: root/usr.bin/chpass
diff options
context:
space:
mode:
authorwpaul <wpaul@FreeBSD.org>1995-06-23 16:24:34 +0000
committerwpaul <wpaul@FreeBSD.org>1995-06-23 16:24:34 +0000
commit9cb3b2d796ea921c57d1d244b5178f9d68450a1d (patch)
tree9d95d7c9db19afa33e64c89d290e3983a39d1f59 /usr.bin/chpass
parentc3bd02d7912b08238973399653e70a4e8d03b6ee (diff)
downloadFreeBSD-src-9cb3b2d796ea921c57d1d244b5178f9d68450a1d.zip
FreeBSD-src-9cb3b2d796ea921c57d1d244b5178f9d68450a1d.tar.gz
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 'usr.bin/chpass')
-rw-r--r--usr.bin/chpass/table.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/chpass/table.c b/usr.bin/chpass/table.c
index c6b76b3..46a12d1 100644
--- a/usr.bin/chpass/table.c
+++ b/usr.bin/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, },
OpenPOWER on IntegriCloud