Bug#312428: [Pkg-shadow-devel] Bug#312428: 'man chfn' typo: "configuragion"
Christian Perrier
bubulle@debian.org
Wed, 8 Jun 2005 20:30:27 +0200
--TB36FDmn/VVEgNH/
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
Quoting Tomasz K=C5=82oczko (kloczek@zie.pg.gda.pl):
> On Wed, 8 Jun 2005, A Costa wrote:
>=20
> > Package: passwd
> > Version: 1:4.0.3-35
> > Severity: minor
> > Tags: patch
> >=20
> >=20
> > Found a typo in '/usr/share/man/man1/chfn.1.gz', see attached '.diff'=
.
>=20
> Seems this isn't neccessary for upstream CVS source tree.
On the other hand, we have the following changes currently in Debian
patches. The attached diff is meant for your CVS.
The purpose is giving more details about the influence of login.defs
on what's allowed to users.
--TB36FDmn/VVEgNH/
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="chfn.diff"
--- chfn.1.old 2005-06-08 20:26:03.000000000 +0200
+++ chfn.1 2005-06-08 20:28:22.000000000 +0200
@@ -37,9 +37,12 @@
\fBchfn\fR changes user fullname, office number, office extension, and home
phone number information for a user's account. This information is
typically printed by \fBfinger\fR(1) and similar programs. A normal user
-may only change the fields for her own account, the super user may change
-the fields for any account. Also, only the super user may use the \fB\-o\fR
-option to change the undefined portions of the GECOS field.
+may only change the fields for her own account,
+subject to the restrictions in /etc/login.defs. (The default configuration
+is to prevent users from changing their fullname.)
+The super user may change any field for any account.
+Additionally, only the super user may use the \fB-o\fR option to change the
+undefined portions of the GECOS field.
.PP
The only restriction placed on the contents of the fields is that no control
characters may be present, nor any of comma, colon, or equal sign. The
@@ -53,6 +56,8 @@
marks. Without options, chfn prompts for the current user account.
.SH FILES
\fI/etc/passwd\fR \- user account information
+.br
+\fI/etc/login.defs\fR \- runtime configuration
.SH SEE ALSO
.BR passwd (5)
.SH AUTHOR
--TB36FDmn/VVEgNH/--