diff options
| author | 2000-12-30 06:43:24 +0000 | |
|---|---|---|
| committer | 2000-12-30 06:43:24 +0000 | |
| commit | ece15c730dce619653c483e2e4c6fb39ae182b14 (patch) | |
| tree | 1d8c1eb36b6028d40ff1d4e115fa9826bd6683c2 /usr.sbin/adduser/adduser.perl | |
| parent | Initialize RAID parity as needed (PR 1529) (diff) | |
| download | wireguard-openbsd-ece15c730dce619653c483e2e4c6fb39ae182b14.tar.xz wireguard-openbsd-ece15c730dce619653c483e2e4c6fb39ae182b14.zip | |
Change wording when empty password is entered: our adduser sets the
password to "*" (thus disallowing logon) -- PR 1480
Diffstat (limited to 'usr.sbin/adduser/adduser.perl')
| -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 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; } } |
