Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-1-6]: src/distrib/utils/sysinst Pull up revision 1.8 (requested b...
details: https://anonhg.NetBSD.org/src/rev/f2b98f6e45c6
branches: netbsd-1-6
changeset: 529106:f2b98f6e45c6
user: lukem <lukem%NetBSD.org@localhost>
date: Mon Sep 30 13:16:29 2002 +0000
description:
Pull up revision 1.8 (requested by grant in ticket #852):
nullify ftp password when changing user to 'ftp', from Thomas Klausner
in install/11436.
diffstat:
distrib/utils/sysinst/menus.mi.pl | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
diffs (21 lines):
diff -r 5efa45b6b340 -r f2b98f6e45c6 distrib/utils/sysinst/menus.mi.pl
--- a/distrib/utils/sysinst/menus.mi.pl Mon Sep 30 13:16:22 2002 +0000
+++ b/distrib/utils/sysinst/menus.mi.pl Mon Sep 30 13:16:29 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: menus.mi.pl,v 1.3.2.3 2002/08/10 00:50:39 itojun Exp $ */
+/* $NetBSD: menus.mi.pl,v 1.3.2.4 2002/09/30 13:16:29 lukem Exp $ */
/* Based on english version: */
/* NetBSD: menus.mi.en,v 1.49 2002/04/04 14:26:44 ad Exp */
@@ -283,7 +283,10 @@
option "Katalog", action
{ msg_prompt (MSG_dir, ftp_dir, ftp_dir, 255); };
option "Uzytkownik", action
- { msg_prompt (MSG_user, ftp_user, ftp_user, 255); };
+ { msg_prompt (MSG_user, ftp_user, ftp_user, 255);
+ if (strcmp(ftp_user, "ftp") == 0)
+ ftp_pass[0] = '\0';
+ };
option "Haslo", action
{ if (strcmp(ftp_user, "ftp") == 0)
msg_prompt (MSG_email, ftp_pass, ftp_pass, 255);
Home |
Main Index |
Thread Index |
Old Index