source: trunk/minix/man/man1/passwd.1@ 9

Last change on this file since 9 was 9, checked in by Mattia Monga, 13 years ago

Minix 3.1.2a

File size: 1.0 KB
Line 
1.TH PASSWD 1
2.SH NAME
3passwd, chfn, chsh \- change a login password, full name or shell
4.SH SYNOPSIS
5\fBpasswd\fR [\fIuser\fR]\fR
6.br
7\fBchfn\fR [\fIuser\fR] \fIfullname\fR\fR
8.br
9\fBchsh\fR [\fIuser\fR] \fIshell\fR\fR
10.br
11.de FL
12.TP
13\\fB\\$1\\fR
14\\$2
15..
16.de EX
17.TP 20
18\\fB\\$1\\fR
19# \\$2
20..
21.SH EXAMPLES
22.EX "passwd" "Change current user's password"
23.EX "passwd ast" "Change ast's password (super\-user only)"
24.EX "chsh /usr/bin/mail" "For those who only read mail"
25.EX "chfn 'Jane Doe'" "Current user is Jane Doe"
26.SH DESCRIPTION
27.PP
28.I Passwd
29is used to change your password.
30It prompts for the old and new passwords.
31It asks for the new password twice, to reduce the effect of a typing error.
32.I Chfn
33changes the full name (GECOS field) in the password file.
34.I Chsh
35changes your login shell.
36Do not forget to copy the modified password file back to the root file system,
37or the changes will be lost when the system is rebooted.
38.SH "SEE ALSO"
39.BR login (1),
40.BR su (1),
41.BR crypt (3),
42.BR getpwent (3),
43.BR passwd (5),
44.BR adduser (8).
Note: See TracBrowser for help on using the repository browser.