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



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

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

diffs (21 lines):

diff -r edb2fad4b2fe -r 08c493c5c769 distrib/utils/sysinst/menus.mi.fr
--- a/distrib/utils/sysinst/menus.mi.fr Mon Sep 30 13:07:15 2002 +0000
+++ b/distrib/utils/sysinst/menus.mi.fr Mon Sep 30 13:16:14 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: menus.mi.fr,v 1.35 2002/04/16 02:20:17 mycroft Exp $   */
+/*     $NetBSD: menus.mi.fr,v 1.35.2.1 2002/09/30 13:16:14 lukem Exp $ */
 
 /*
  * Copyright 1997 Piermont Information Systems Inc.
@@ -250,7 +250,10 @@
        option "Répertoire", action
                { msg_prompt (MSG_dir, ftp_dir, ftp_dir, 255); };
        option "Utilisateur", 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 "Mot de passe", action
                { if (strcmp(ftp_user, "ftp") == 0)
                        msg_prompt (MSG_email, ftp_pass, ftp_pass, 255);



Home | Main Index | Thread Index | Old Index