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.57 (requested ...



details:   https://anonhg.NetBSD.org/src/rev/5efa45b6b340
branches:  netbsd-1-6
changeset: 529105:5efa45b6b340
user:      lukem <lukem%NetBSD.org@localhost>
date:      Mon Sep 30 13:16:22 2002 +0000

description:
Pull up revision 1.57 (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.en |  7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diffs (21 lines):

diff -r 08c493c5c769 -r 5efa45b6b340 distrib/utils/sysinst/menus.mi.en
--- a/distrib/utils/sysinst/menus.mi.en Mon Sep 30 13:16:14 2002 +0000
+++ b/distrib/utils/sysinst/menus.mi.en Mon Sep 30 13:16:22 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: menus.mi.en,v 1.51.2.4 2002/08/10 00:50:38 itojun Exp $        */
+/*     $NetBSD: menus.mi.en,v 1.51.2.5 2002/09/30 13:16:22 lukem Exp $ */
 
 /*
  * Copyright 1997 Piermont Information Systems Inc.
@@ -281,7 +281,10 @@
        option "Directory", action
                { msg_prompt (MSG_dir, ftp_dir, ftp_dir, 255); };
        option "User", 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 "Password", action
                { if (strcmp(ftp_user, "ftp") == 0)
                        msg_prompt (MSG_email, ftp_pass, ftp_pass, 255);



Home | Main Index | Thread Index | Old Index