Nagios CGI authentication woes.

Peter L. Berghold Peter at berghold.net
Tue Jan 23 15:59:40 CET 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Andreas Ericsson wrote:
>
> htaccess=$(find /usr/local -type f -name .htaccess)
> path_to=$(find /usr/local -type f -name "*users")
> sed -i "s/\\(AuthUserFile \\).*/\1 $path_to/" $htaccess
> 

Actually... nagios on the system in question really is stored in /local
and the full path really is /local/nagios/etc/nagios.users

Just my quirky way of doing things.


- --
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
Peter L. Berghold                                     Peter at Berghold.Net
"Those who fail to learn from history are condemned to repeat it."
AIM: redcowdawg        Yahoo IM: blue_cowdawg              ICQ: 11455958
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)
Comment: Using GnuPG with Red Hat - http://enigmail.mozdev.org

iD8DBQFFtiLbUM9/01RIhaARAtxBAKC7XhUcrnQOiLy1qbGonmiED2k7KQCfTgdy
80DUizo9pkoAU/qT0V3fSAc=
=ws7z
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Peter.vcf
Type: text/x-vcard
Size: 239 bytes
Desc: not available
URL: <https://www.monitoring-lists.org/archive/users/attachments/20070123/9079c01c/attachment.vcf>
-------------- next part --------------
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null


More information about the Users mailing list