Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

server run as nobody

Status
Not open for further replies.

acebravo

Technical User
Apr 11, 2001
1
CA
Hello,

I'm neither an apache expert nor cgi/perl expert but I do know that if a DIR or file are given the required permissions, things should work.

I have a perl script which creates an htpasswd file to add username/password combos to it. All is working fine, the file of course gets created with user/group nobody/nobody.

For security reasons, the script is suposed to delete the username/password combo from the file if a user or site member uses a different source IP, this also is working ok.

But, the script is unable to edit or re-add anything to the file if requested from the admin control of the script to say for example change the password etc..

If the file has something already, password or username can be changed no problem.

If anybody has an idea as to how this can be solved, please let me know..

Geatly appreciated..

AceBravo
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top