From: Markus Hiereth Date: Wed, 8 Jan 2025 21:45:54 +0000 (+0100) Subject: chfn.1 man page improvements X-Git-Tag: 4.18.0-rc1~113 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=9df7d8c92fb7f06db6bad05b9f407834f9f1139f;p=thirdparty%2Fshadow.git chfn.1 man page improvements Bug-Debian: https://bugs.debian.org/1004688 --- diff --git a/man/chfn.1.xml b/man/chfn.1.xml index a5b9040e8..2fa49feb0 100644 --- a/man/chfn.1.xml +++ b/man/chfn.1.xml @@ -41,7 +41,7 @@ chfn - change real user name and information + change full user name and information @@ -59,9 +59,10 @@ DESCRIPTION - The chfn command changes user fullname, + The chfn command changes the user's full name, office room number, office phone number, and home phone number information - for a user's account. This information is typically printed by + for an account in the respective fields of /etc/passwd. + This information is typically printed by finger1 and similar programs. A normal user may only change the fields for her own account, subject to the restrictions in @@ -80,7 +81,10 @@ numbers. The other field is used to store accounting information used by other applications. - + + If LOGIN is not specified, chfn + acts on the current user, and prompts for the current user's password. + @@ -134,7 +138,6 @@ Apply changes in the CHROOT_DIR directory and use the configuration files from the CHROOT_DIR directory. - Only absolute paths are supported. @@ -156,13 +159,12 @@ - If none of the options are selected, chfn - operates in an interactive fashion, prompting the user with the + If none of the options is selected, chfn operates + in an interactive fashion, prompting the user with the current values for all of the fields. Enter the new value to change the field, or leave the line blank to use the current value. The - current value is displayed between a pair of [ - ] marks. Without options, chfn - prompts for the current user account. + current value is displayed between a pair of + [] marks.