summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1998-10-14 19:40:28 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1998-10-14 19:40:28 +0000
commit4fa9152eb6997c2114ba03200b479f4b9420393c (patch)
tree0f35420b866d5f26b02ef1ca3e813c4c11e78277
parente28f58acd6d7af9d9ac528ac5a05ef585d8840ea (diff)
solve < > or - in password problem
-rw-r--r--usr.sbin/adduser/adduser.perl6
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.