[CentOS] Basic authentication - maybe off topoc

Jerry Geis

jerry.geis at gmail.com
Thu May 11 11:56:00 UTC 2017


Hi - I am using CentOS 7.3 and trying to receive basic authentication.

I run a command liked: curl -X POST -u jerry:pw
http://192.168.1.8/inbound.cgi

When I use printenv in the cgi I do not see the user and password anywhere.
Isn't it supposed to be there in an environment variable like REMOTE_USER ?

How do I receive the basic authentication ?

Thanks,

Jerry



More information about the CentOS mailing list