aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/passwd/passwd.1
diff options
context:
space:
mode:
authorBrandon Gillespie <brandon@FreeBSD.org>1999-01-22 15:33:54 +0000
committerBrandon Gillespie <brandon@FreeBSD.org>1999-01-22 15:33:54 +0000
commit669892b23906e51008508dd0d41d29d6adc0204f (patch)
tree33db8ab979357e427e75e6b512258b1b68035b3c /usr.bin/passwd/passwd.1
parent854de4f06ae3e588300157acf5f5ac626e25641f (diff)
downloadsrc-669892b23906e51008508dd0d41d29d6adc0204f.tar.gz
src-669892b23906e51008508dd0d41d29d6adc0204f.zip
Added support for multiple hash formats, and new salt generation code.
It selects which hash format to use by checking /etc/auth.conf for auth_default. Leaving auth_default disabled will give the current behaviour (use the same format as is currently used in the password, or if a new password default to what crypt likes best--des if it exists). Now you can set it to one of: des, best, md5 or sha1. best is a synonym for sha1, currently.
Notes
Notes: svn path=/head/; revision=43065
Diffstat (limited to 'usr.bin/passwd/passwd.1')
-rw-r--r--usr.bin/passwd/passwd.112
1 files changed, 11 insertions, 1 deletions
diff --git a/usr.bin/passwd/passwd.1 b/usr.bin/passwd/passwd.1
index 96288119ea93..25a699a98d19 100644
--- a/usr.bin/passwd/passwd.1
+++ b/usr.bin/passwd/passwd.1
@@ -30,7 +30,7 @@
.\" SUCH DAMAGE.
.\"
.\" @(#)passwd.1 8.1 (Berkeley) 6/6/93
-.\" $Id: passwd.1,v 1.10 1998/10/09 06:38:33 markm Exp $
+.\" $Id: passwd.1,v 1.11 1998/11/30 22:41:58 billf Exp $
.\"
.Dd June 6, 1993
.Dt PASSWD 1
@@ -173,6 +173,14 @@ Do not automatically override the password authentication checks for the
super-user on the NIS master server; assume 'old' mode instead. This
flag is of limited practical use but is useful for testing.
.El
+.Sh PASSWORD HASH FORMATS
+.Pp
+The type of password hash which is stored is configured through the file
+.Pa /etc/auth.conf
+using the variable auth_default. Furthermore, passwd can only support
+hash formats which are supported by your
+.Xr crypt 3
+library.
.Sh FILES
.Bl -tag -width /etc/master.passwd -compact
.It Pa /etc/master.passwd
@@ -191,6 +199,8 @@ configure authentication services
.Xr kerberos 1 ,
.Xr kinit 1 ,
.Xr login 1 ,
+.Xr crypt 3 ,
+.Xr auth.conf 5 ,
.Xr login.conf 5 ,
.Xr passwd 5 ,
.Xr kpasswdd 8 ,