shadow/man/sv/chfn.1

51 lines
2.0 KiB
Groff

.\" Title: chfn
.\" Author:
.\" Generator: DocBook XSL Stylesheets v1.70.1 <http://docbook.sf.net/>
.\" Date: 20.07.2006
.\" Manual: Användarkommandon
.\" Source: Användarkommandon
.\"
.TH "CHFN" "1" "20\-07\-2006" "Användarkommandon" "Användarkommandon"
.\" disable hyphenation
.nh
.\" disable justification (adjust text to left margin only)
.ad l
.SH "NAMN"
chfn \- ändra verkligt användarnamn och information
.SH "SYNOPSIS"
.HP 5
\fBchfn\fR [\-f\ \fIfullständigt_namn\fR] [\-r\ \fIrumsnummer\fR] [\-w\ \fIarbetstelefon\fR] [\-h\ \fIhemtelefon\fR] [\-o\ \fIövrigt\fR] [\fIanvändare\fR]
.SH "BESKRIVNING"
.PP
\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, subject to the restrictions in
\fI/etc/login.defs\fR. (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
\fIother\fR
field does not have this restriction, and is used to store accounting information used by other applications.
.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 "FILER"
.TP 3n
\fI/etc/login.defs\fR
Shadow password suite configuration.
.TP 3n
\fI/etc/passwd\fR
Användarkontoinformation.
.SH "SE OCKSÅ"
.PP
\fBchsh\fR(1),
\fBlogin.defs\fR(5),
\fBpasswd\fR(5).