You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2002/06/19 17:49:26 UTC
DO NOT REPLY [Bug 10014] New: -
htpasswd overwrites same password file without -c option
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=10014>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=10014
htpasswd overwrites same password file without -c option
Summary: htpasswd overwrites same password file without -c option
Product: Apache httpd-2.0
Version: 2.0.39
Platform: PC
OS/Version: Linux
Status: NEW
Severity: Normal
Priority: Other
Component: support
AssignedTo: bugs@httpd.apache.org
ReportedBy: admin@ihpindustrial.com
The support program htpasswd, creates a new file even if the file already exists.
I started out with the -c option to create a new file to add users to.
Example:
/usr/local/apache/bin/htpasswd -bc /usr/local/apache/auth/htpasswds user1 pass1
OK, it created the file like it is suposed to. Results:
user1:<encrpted_pass1>
Then I used:
/usr/local/apache/bin/htpasswd -b /usr/local/apache/auth/htpasswds user2 pass2
The results were a new file 'htpasswds' with the contents:
user2:<encrypted_pass2>
It's acting like it doesn't see the already created file.
(Please bear with me, this is my first bug report.)
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org