You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apache-bugdb@apache.org by Geo Carncross <ge...@internetconnection.net> on 1998/05/17 19:46:20 UTC

other/2242: problem with 'dbmmanage'

>Number:         2242
>Category:       other
>Synopsis:       problem with 'dbmmanage'
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    apache
>State:          open
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Sun May 17 10:50:00 PDT 1998
>Last-Modified:
>Originator:     geocar@internetconnection.net
>Organization:
apache
>Release:        1.3b6
>Environment:
SunOS 5.5.1 Generic_103640-17 sun4c sparc SUNW,Sun_4_50
SunOS 5.6 Generic sun4m sparc SUNW,SPARCstation-20
Linux 2.0.30 #3 Tue Jun 24 03:59:07 CDT 1997 i486
>Description:
dbmmanage is irregular. it will cut passwords at the number '0'
and often return the terminal in an irregular state.

also, it asks for the password twice, and if a '0' is in the first
password, it will skip the second prompt.
>How-To-Repeat:
dbmmanage ./bob.dbm adduser llorax
New password: [120979]
Confirm Password:
Passwords do not match!!!
>Fix:
sub getpass { $prompt = shift || "Enter Password: "; print $prompt;
$pwd = <STDIN>; chomp($pwd);
die "Cannot use empty password\n" unless length $pwd;
return $pwd; }
>Audit-Trail:
>Unformatted:
[In order for any reply to be added to the PR database, ]
[you need to include <ap...@Apache.Org> in the Cc line ]
[and leave the subject line UNCHANGED.  This is not done]
[automatically because of the potential for mail loops. ]