1
0
Fork 0
mirror of https://gitlab.com/sortix/sortix.git synced 2023-02-13 20:55:38 -05:00
sortix--sortix/utils/passwd.1

34 lines
598 B
Groff
Raw Normal View History

2017-06-03 15:27:30 -04:00
.Dd October 2, 2016
2016-10-02 09:39:29 -04:00
.Dt PASSWD 1
.Os
.Sh NAME
.Nm passwd
.Nd change user password
.Sh SYNOPSIS
.Nm
.Op Fl c Ar cipher
.Op Ar user
.Sh DESCRIPTION
.Nm
changes the password for the specified
.Ar user ,
or the current user if none is specified.
.Pp
The options are as follows:
.Bl -tag -width "12345678"
.It Fl c Ar cipher
Hash the password using the specified
.Ar cipher .
.El
.Sh FILES
.Bl -tag -width "/etc/passwd" -compact
.It Pa /etc/passwd
Password information for all users.
.El
.Sh EXIT STATUS
.Nm
will exit 0 on success and non-zero otherwise.
.Sh SEE ALSO
.Xr crypt_newpass 3 ,
.Xr passwd 5