summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAngelos D. Keromytis <angelos@cvs.openbsd.org>2000-12-30 06:43:25 +0000
committerAngelos D. Keromytis <angelos@cvs.openbsd.org>2000-12-30 06:43:25 +0000
commitff44363f24fd4fbe3418a8d9b5978fac0889a394 (patch)
tree01a18c66e2fa6cbaab9358a885417e66f6ab1078
parent27d174c2e5e7a256f78b87bd94140a85d726b1e2 (diff)
Change wording when empty password is entered: our adduser sets the
password to "*" (thus disallowing logon) -- PR 1480
-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 0eba8eb52df..b800c63f94b 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.26 2000/11/26 02:18:06 millert Exp $
+# $OpenBSD: adduser.perl,v 1.27 2000/12/30 06:43:24 angelos Exp $
#
# Copyright (c) 1995-1996 Wolfram Schneider <wosch@FreeBSD.org>. Berlin.
# All rights reserved.
@@ -89,7 +89,7 @@ sub variables {
$group = "/etc/group";
$pwd_mkdb = "pwd_mkdb -p"; # program for building passwd database
$encryptionmethod = "blowfish";
- $rcsid = '$OpenBSD: adduser.perl,v 1.26 2000/11/26 02:18:06 millert Exp $';
+ $rcsid = '$OpenBSD: adduser.perl,v 1.27 2000/12/30 06:43:24 angelos Exp $';
# List of directories where shells located
@path = ('/bin', '/usr/bin', '/usr/local/bin');
@@ -720,7 +720,7 @@ sub new_users_password {
last if $password eq $newpass;
print "They didn't match, please try again\n";
}
- elsif (!&confirm_yn("Use an empty password?", "no")) {
+ elsif (!&confirm_yn("Set the password so that user cannot logon?", "no")) {
last;
}
}