diff options
author | 1998-10-14 19:40:27 +0000 | |
---|---|---|
committer | 1998-10-14 19:40:27 +0000 | |
commit | 3eb12655859619fced4176a1595676ea3c6cb06a (patch) | |
tree | 90c2d902fcaa920f38c90a15c27b5e50e75e25c9 | |
parent | o include ch.h so that NCH is defined (diff) | |
download | wireguard-openbsd-3eb12655859619fced4176a1595676ea3c6cb06a.tar.xz wireguard-openbsd-3eb12655859619fced4176a1595676ea3c6cb06a.zip |
solve < > or - in password problem
-rw-r--r-- | usr.sbin/adduser/adduser.perl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/adduser/adduser.perl b/usr.sbin/adduser/adduser.perl index f80c8853797..c94a8848564 100644 --- a/usr.sbin/adduser/adduser.perl +++ b/usr.sbin/adduser/adduser.perl @@ -1,6 +1,6 @@ #!/usr/bin/perl # -# $OpenBSD: adduser.perl,v 1.10 1998/09/22 01:40:30 weingart Exp $ +# $OpenBSD: adduser.perl,v 1.11 1998/10/14 19:40:27 deraadt Exp $ # # Copyright (c) 1995-1996 Wolfram Schneider <wosch@FreeBSD.org>. Berlin. # All rights reserved. @@ -934,7 +934,7 @@ sub encrypt { $pass =~ s/(.)/\\$1/g; - $crypt = `/usr/bin/encrypt $args $pass`; + $crypt = `/usr/bin/encrypt $args -- $pass`; chop $crypt; return($crypt); } @@ -1442,7 +1442,7 @@ sub config_write { print C <<EOF; # -# $OpenBSD: adduser.perl,v 1.10 1998/09/22 01:40:30 weingart Exp $ +# $OpenBSD: adduser.perl,v 1.11 1998/10/14 19:40:27 deraadt Exp $ # $config - automatic generated by adduser(8) # # Note: adduser read *and* write this file. |