Date: Fri, 4 Oct 2002 16:40:25 -0700 (PDT) From: p01nt3r <p01nt3r@sp00fed.ru> To: freebsd-gnats-submit@FreeBSD.org Subject: misc/43677: Bug in /usr/sbin/adduser Message-ID: <200210042340.g94NePMw078699@www.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200210042340.g94NePMw078699>
