diff options
author | Theo Buehler <tb@cvs.openbsd.org> | 2017-02-06 06:16:53 +0000 |
---|---|---|
committer | Theo Buehler <tb@cvs.openbsd.org> | 2017-02-06 06:16:53 +0000 |
commit | 3d7a0029d0386797f86689a8681b561d296c7e9d (patch) | |
tree | d3b13121c24446d78c177572baf4bcd2ce010e78 /usr.sbin/adduser | |
parent | bc0218ee3bffcfd0c180b2e2f5d63203de8051ca (diff) |
Use quotes to protect the password hash from shell expansion. Update hash
to the new bcrypt version $2b$ and use more rounds. Prof. Falken's password
is much safer now. Found thanks to a problem report by John McGuigan.
ok beck
Diffstat (limited to 'usr.sbin/adduser')
-rw-r--r-- | usr.sbin/adduser/adduser.8 | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/adduser/adduser.8 b/usr.sbin/adduser/adduser.8 index 5e3c3dceb6a..7e2063e569c 100644 --- a/usr.sbin/adduser/adduser.8 +++ b/usr.sbin/adduser/adduser.8 @@ -1,4 +1,4 @@ -.\" $OpenBSD: adduser.8,v 1.44 2015/12/24 16:54:37 mmcc Exp $ +.\" $OpenBSD: adduser.8,v 1.45 2017/02/06 06:16:52 tb Exp $ .\" .\" Copyright (c) 1995-1996 Wolfram Schneider <wosch@FreeBSD.org>. Berlin. .\" All rights reserved. @@ -25,7 +25,7 @@ .\" SUCH DAMAGE. .\" .\" $From: adduser.8,v 1.12 1996/08/28 17:54:13 adam Exp $ -.Dd $Mdocdate: December 24 2015 $ +.Dd $Mdocdate: February 6 2017 $ .Dt ADDUSER 8 .Os .Sh NAME @@ -373,7 +373,7 @@ The password has been created using .Xr encrypt 1 : .Bd -literal -offset indent # adduser -batch falken guest,staff,beer 'Prof. Falken' \e - $2a$06$1Sdjxjoxg4cNmT6zAxriGOLgdLXQ3HdJ2dKBbzEk68jSrO1EtLJ3C + '$2b$10$aOadQNznQ1YJFnqNaRRneOvYvZAEO7atYiTND3EsLf6afHT5t1UIK' .Ed .Pp Create user |