From owner-freebsd-bugs Fri Oct 4 16:50: 4 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CF10A37B401 for ; Fri, 4 Oct 2002 16:50:02 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2A7A043E86 for ; Fri, 4 Oct 2002 16:50:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id g94No2Co009046 for ; Fri, 4 Oct 2002 16:50:02 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id g94No1TB009045; Fri, 4 Oct 2002 16:50:01 -0700 (PDT) Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 93E5D37B401 for ; Fri, 4 Oct 2002 16:40:26 -0700 (PDT) Received: from www.freebsd.org (www.freebsd.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3283943E6A for ; Fri, 4 Oct 2002 16:40:26 -0700 (PDT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.12.6/8.12.6) with ESMTP id g94NeP7R078700 for ; Fri, 4 Oct 2002 16:40:25 -0700 (PDT) (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.12.6/8.12.6/Submit) id g94NePMw078699; Fri, 4 Oct 2002 16:40:25 -0700 (PDT) Message-Id: <200210042340.g94NePMw078699@www.freebsd.org> Date: Fri, 4 Oct 2002 16:40:25 -0700 (PDT) From: p01nt3r To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-1.0 Subject: misc/43677: Bug in /usr/sbin/adduser Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 43677 >Category: misc >Synopsis: Bug in /usr/sbin/adduser >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Oct 04 16:50:01 PDT 2002 >Closed-Date: >Last-Modified: >Originator: p01nt3r >Release: FreeBSD 4.6.2 Release >Organization: Home >Environment: FreeBSD 4.6.2-RELEASE #0: Tue Oct 1 13:20:27 EEST 2002 root@:/usr/obj/usr/src/sys/GENERIC i386 >Description: When requested to enter username second time(such as Enter username[test]: ) - It just print a message "Please enter a username". And it's looped. >How-To-Repeat: Just run the adduser, and add some user (test, for example). After "Ok, Let's go!", when it requested "Enter username [test]:" press the Enter, or type "test", and press the Enter. >Fix: In the /usr/sbin/adduser program, in &new_users_name_valid subprogram: replace "if ($name eq $usernameregexp) { print "Please enter a username\a\n"; exit 0; }" to "if ($name ne $usernameregexp) { print "Please enter a username\a\n"; exit 0; }" >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message