Did I find a htpasswd bug?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
While trying to delete a user via a php program I notice that the return code is zero when a user is not found. Shouldn't it be non zero. Or maybe I'm doing something wrong.
Here's the code and also what I see in the error_log...
system("/usr/local/apache2/bin/htpasswd -D /usr/local/apache2/conf/vins
ight.passwd $username",$retval);
As I said the return value is zero when I see the following in the error_log...
User jimbo55 not found
Am I going about this wrong or is this a bug?
Thanks for the help.
BTW apache 2.3.3
James
[Index of Archives]
[Open SSH Users]
[Linux ACPI]
[Linux Kernel]
[Linux Laptop]
[Kernel Newbies]
[Security]
[Netfilter]
[Bugtraq]
[Squid]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Samba]
[Video 4 Linux]
[Device Mapper]