Guest Account and authorization

Mike McClure mmcclure at pneservices.com
Thu Oct 9 23:48:07 CEST 2003


I have not done that, but I don't think it would be too difficult.

You could do it by making new directories for the public "frontend", meaning the
HTML in /share and the "read-only" CGIs (tac.cgi, status.cgi, etc.) in /sbin.  They
could be symbolic links (where possible) to make things easier.  The CGIs and images
are definitely good candidates for that.

Then, you would need to make two new virtual directories with Apache that point to
those extra directories, and also change the side.html for the public one to hit the
public CGI virtual directory.  The public directories' .htaccess would not require
HTTP-Auth, the "admin" ones would.



> I would like to use the "guest" account (default user ID) for general
> access and specific ID's for admins.  I have enabled the "guest ID in
> the cgi configuration file and I currently have authorization working
> properly but I don't want general users to have to enter the guest ID.
> I have looked at the options for the .htaccess file and for the
> httpd.conf (apache) file and cannot find a configuration that will work.
>
>
>
> If I remove the .htacess (or just comment out the "required valid-user"
> line) the guest ID works but then I cannot login with an admin ID.
>
>
>
> Has anyone made this work?  Any suggestions?
>
>
>
> -Tony
>

-- 
Mike McClure, CCIE # 5125, CISSP # 30232
PNE Services, Inc. -  http://www.pneservices.com
mmcclure [at] pneservices [dot] com
mobile: 913-636-5590



-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
SourceForge.net hosts over 70,000 Open Source Projects.
See the people who have HELPED US provide better services:
Click here: http://sourceforge.net/supporters.php
_______________________________________________
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