diff options
author | tb <tb@openbsd.org> | 2017-02-06 06:16:52 +0000 |
---|---|---|
committer | tb <tb@openbsd.org> | 2017-02-06 06:16:52 +0000 |
commit | 40aff751edb3819a55016d350119c5296b842f06 (patch) | |
tree | d9cb1aeb50a38dec898c863cadb1c7caa8840146 | |
parent | megaraid sas fusion chips have their own command for aborting tasks (diff) | |
download | wireguard-openbsd-40aff751edb3819a55016d350119c5296b842f06.tar.xz wireguard-openbsd-40aff751edb3819a55016d350119c5296b842f06.zip |
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
-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 |