mirror of
https://github.com/shadow-maint/shadow.git
synced 2024-11-24 02:24:32 +08:00
77 lines
1.5 KiB
Groff
77 lines
1.5 KiB
Groff
.\"Generated by db2man.xsl. Don't modify this, modify the source.
|
|
.de Sh \" Subsection
|
|
.br
|
|
.if t .Sp
|
|
.ne 5
|
|
.PP
|
|
\fB\\$1\fR
|
|
.PP
|
|
..
|
|
.de Sp \" Vertical space (when we can't use .PP)
|
|
.if t .sp .5v
|
|
.if n .sp
|
|
..
|
|
.de Ip \" List item
|
|
.br
|
|
.ie \\n(.$>=3 .ne \\$3
|
|
.el .ne 3
|
|
.IP "\\$1" \\$2
|
|
..
|
|
.TH "CHPASSWD" 8 "" "" ""
|
|
.SH NAME
|
|
chpasswd \- update passwords in batch mode
|
|
.SH "SYNOPSIS"
|
|
.ad l
|
|
.hy 0
|
|
.HP 9
|
|
\fBchpasswd\fR [\fIoptions\fR]
|
|
.ad
|
|
.hy
|
|
|
|
.SH "DESCRIPTION"
|
|
|
|
.PP
|
|
\fBchpasswd\fR reads a list of user name and password pairs from standard input and uses this information to update a group of existing users\&. Each line is of the format:
|
|
|
|
.PP
|
|
\fIuser_name\fR:\fIpassword\fR
|
|
|
|
.PP
|
|
By default the supplied password must be in clear\-text\&. Default encription algoritm is DES\&. Also the password age will be updated, if present\&.
|
|
|
|
.PP
|
|
This command is intended to be used in a large system environment where many accounts are created at a single time\&.
|
|
|
|
.SH "OPTIONS"
|
|
|
|
.PP
|
|
The options which apply to the \fBchpasswd\fR command are:
|
|
|
|
.TP
|
|
\fB\-e\fR, \fB\-\-encrypted\fR
|
|
Supplied passwords are in encrypted form\&.
|
|
|
|
.TP
|
|
\fB\-h\fR, \fB\-\-help\fR
|
|
Display help message and exit\&.
|
|
|
|
.TP
|
|
\fB\-m\fR, \fB\-\-md5\fR
|
|
Use MD5 encryption instead DES when the supplied passwords are not encrypted\&.
|
|
|
|
.SH "CAVEATS"
|
|
|
|
.PP
|
|
Remember keep protected for reading by others fille passed to standard input \fBchpasswd\fR command if it contains unencrypted passwords\&.
|
|
|
|
.SH "SEE ALSO"
|
|
|
|
.PP
|
|
\fBpasswd\fR(1), \fBnewusers\fR(8), \fBuseradd\fR(8)
|
|
|
|
.SH "AUTHOR"
|
|
|
|
.PP
|
|
Julianne Frances Haugh (jockgrrl@ix\&.netcom\&.com)
|
|
|