123 lines
4.2 KiB
Groff
123 lines
4.2 KiB
Groff
'\" t
|
|
.\" Title: chfn
|
|
.\" Author: Julianne Frances Haugh
|
|
.\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/>
|
|
.\" Date: 19/03/2025
|
|
.\" Manual: User Commands
|
|
.\" Source: shadow-utils 4.17.4
|
|
.\" Language: French
|
|
.\"
|
|
.TH "CHFN" "1" "19/03/2025" "shadow\-utils 4\&.17\&.4" "User Commands"
|
|
.\" -----------------------------------------------------------------
|
|
.\" * Define some portability stuff
|
|
.\" -----------------------------------------------------------------
|
|
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
.\" http://bugs.debian.org/507673
|
|
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
|
|
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
.ie \n(.g .ds Aq \(aq
|
|
.el .ds Aq '
|
|
.\" -----------------------------------------------------------------
|
|
.\" * set default formatting
|
|
.\" -----------------------------------------------------------------
|
|
.\" disable hyphenation
|
|
.nh
|
|
.\" disable justification (adjust text to left margin only)
|
|
.ad l
|
|
.\" -----------------------------------------------------------------
|
|
.\" * MAIN CONTENT STARTS HERE *
|
|
.\" -----------------------------------------------------------------
|
|
.SH "NOM"
|
|
chfn \- Modifier le nom complet et les informations associ\('ees \(`a un utilisateur
|
|
.SH "SYNOPSIS"
|
|
.HP \w'\fBchfn\fR\ 'u
|
|
\fBchfn\fR [\fIoptions\fR] [\fILOGIN\fR]
|
|
.SH "DESCRIPTION"
|
|
.PP
|
|
The
|
|
\fBchfn\fR
|
|
command changes user fullname, office room number, office phone number, and home phone number information for a user\*(Aqs 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, subject to the restrictions in
|
|
/etc/login\&.defs\&. (The default configuration is to prevent users from changing their fullname\&.) The superuser may change any field for any account\&. Additionally, only the superuser may use the
|
|
\fB\-o\fR
|
|
option to change the undefined portions of the GECOS field\&.
|
|
.PP
|
|
These fields must not contain any colons\&. Except for the
|
|
\fIother\fR
|
|
field, they should not contain any comma or equal sign\&. It is also recommended to avoid non\-US\-ASCII characters, but this is only enforced for the phone numbers\&. The
|
|
\fIother\fR
|
|
field is used to store accounting information used by other applications\&.
|
|
.SH "OPTIONS"
|
|
.PP
|
|
The options which apply to the
|
|
\fBchfn\fR
|
|
command are:
|
|
.PP
|
|
\fB\-f\fR, \fB\-\-full\-name\fR\ \&\fIFULL_NAME\fR
|
|
.RS 4
|
|
Modifier le nom complet de l\*(Aqutilisateur\&.
|
|
.RE
|
|
.PP
|
|
\fB\-h\fR, \fB\-\-home\-phone\fR\ \&\fIHOME_PHONE\fR
|
|
.RS 4
|
|
Modifier le num\('ero de t\('el\('ephone personnel de l\*(Aqutilisateur\&.
|
|
.RE
|
|
.PP
|
|
\fB\-o\fR, \fB\-\-other\fR\ \&\fIOTHER\fR
|
|
.RS 4
|
|
Modifier les informations GECO de l\*(Aqutilisateur\&. Ce champ est utilis\('e pour enregistrer les informations de l\*(Aqutilisateur utilis\('ees par d\*(Aqautres applications et peut \(^etre chang\('e seulement par un superutilisateur\&.
|
|
.RE
|
|
.PP
|
|
\fB\-r\fR, \fB\-\-room\fR\ \&\fIROOM_NUMBER\fR
|
|
.RS 4
|
|
Modifier le num\('ero de bureau de l\*(Aqutilisateur\&.
|
|
.RE
|
|
.PP
|
|
\fB\-R\fR, \fB\-\-root\fR\ \&\fICHROOT_DIR\fR
|
|
.RS 4
|
|
Apply changes in the
|
|
\fICHROOT_DIR\fR
|
|
directory and use the configuration files from the
|
|
\fICHROOT_DIR\fR
|
|
directory\&. Only absolute paths are supported\&.
|
|
.RE
|
|
.PP
|
|
\fB\-u\fR, \fB\-\-help\fR
|
|
.RS 4
|
|
Afficher un message d\*(Aqaide et quitter\&.
|
|
.RE
|
|
.PP
|
|
\fB\-w\fR, \fB\-\-work\-phone\fR\ \&\fIWORK_PHONE\fR
|
|
.RS 4
|
|
Modifier le num\('ero de t\('el\('ephone professionnel de l\*(Aqutilisateur\&.
|
|
.RE
|
|
.PP
|
|
If none of the options are selected,
|
|
\fBchfn\fR
|
|
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
|
|
\fB[ ]\fR
|
|
marks\&. Without options,
|
|
\fBchfn\fR
|
|
prompts for the current user account\&.
|
|
.SH "CONFIGURATION"
|
|
.PP
|
|
The following configuration variables in
|
|
/etc/login\&.defs
|
|
change the behavior of this tool:
|
|
.SH "FICHIERS"
|
|
.PP
|
|
/etc/login\&.defs
|
|
.RS 4
|
|
Configuration de la suite des mots de passe cach\('es \(Fo\ \&shadow password\ \&\(Fc\&.
|
|
.RE
|
|
.PP
|
|
/etc/passwd
|
|
.RS 4
|
|
Informations sur les comptes des utilisateurs\&.
|
|
.RE
|
|
.SH "VOIR AUSSI"
|
|
.PP
|
|
\fBchsh\fR(1),
|
|
\fBlogin.defs\fR(5),
|
|
\fBpasswd\fR(5)\&.
|