From 4ea6933bd940b00a714b85196d1a43bec7e4095d Mon Sep 17 00:00:00 2001 From: Christian Goeschel Ndjomouo Date: Thu, 15 Jan 2026 22:20:27 -0500 Subject: [PATCH] chfn: improve man page Signed-off-by: Christian Goeschel Ndjomouo --- login-utils/chfn.1.adoc | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) diff --git a/login-utils/chfn.1.adoc b/login-utils/chfn.1.adoc index 4bc511745..0f8cfb28d 100644 --- a/login-utils/chfn.1.adoc +++ b/login-utils/chfn.1.adoc @@ -65,9 +65,21 @@ older versions used the now-deprecated *-v*). Indicate which fields are changeable by *chfn*. + -The boolean setting *"yes"* means that only the Office, Office Phone and Home Phone fields are changeable, and boolean setting *"no"* means that also the Full Name is changeable. +The boolean setting *"yes"* means that only the _Office_, _Office Phone_ and _Home Phone_ fields are changeable, and boolean setting *"no"* means that also the _Full Name_ is changeable. + -Another way to specify changeable fields is by abbreviations: f = Full Name, r = Office (room), w = Office (work) Phone, h = Home Phone. For example, *CHFN_RESTRICT "wh"* allows changing work and home phone numbers. +Another way to specify changeable fields is by abbreviations: ++ +-- +*f*::: Full Name + +*r*::: Office (room) + +*w*::: Office (work) Phone + +*h*::: Home Phone +-- ++ +For example, *CHFN_RESTRICT "wh"* allows changing work and home phone numbers. + If *CHFN_RESTRICT* is undefined, then all finger information is read-only. This is the default. @@ -77,7 +89,8 @@ Returns 0 if operation was successful, 1 if operation failed or command syntax w == AUTHORS -mailto:svalente@mit.edu[Salvatore Valente] +mailto:svalente@mit.edu[Salvatore Valente], +mailto:cgoesc2@wgu.edu[Christian Goeschel Ndjomouo] == SEE ALSO -- 2.47.3