Provided by:
passwd_4.1.4.2+svn3283-3ubuntu5_i386 
CONFIGURATION
The following configuration variables in /etc/login.defs change the
behavior of this tool:
CHFN_RESTRICT (string)
This parameter specifies which values in the gecos field of the
/etc/passwd file may be changed by regular users using the chfn
program. It can be any combination of letters f, r, w, h, for Full
name, Room number, Work phone, and Home phone, respectively. For
backward compatibility, yes is equivalent to rwh and no is
equivalent to frwh. If not specified, only the superuser can make
any changes. The most restrictive setting is better achieved by not
installing chfn SUID.
/etc/login.defs
/etc/passwd
chsh(1), login.defs(5), passwd(5).
04/09/2012 chfn(1)