Disable authentication to LPAR2RRD

Hi, 
Is there a way to completely disable the admin prompt for users ? 
I want the system to be freely accessible to anyone. Is it possible ?
Thanks in advance

Comments

  • Hi,

    yep, remove (rename) .htaccess files
    cd /home/lpar2rrd/lpar2rrd
    rm www/.htaccess lpar2rrd-cgi/.htaccess

    It should be enough.
  • Thanks Pavel, 
    That didn't worked for me. 
    I'm still getting an authentication prompt but the admin user is not working now. 
    I'm using the free edition (the XoruX-2.41-OVF)
    it's a clean install.
  • ok, one more thing, remove this line from httpd conf in both lpar2rrd sections:
        AllowOverride AuthConfig FileInfo

    then restart apache


    It is reverting of this scenario:


  • It's an appliance so I don't have this line in the httpd.conf
  • Ok, found this file: 
    /etc/httpd/conf.d/lpar2rrd.conf

    Removed the "AllowOverride AuthConfig FileInfo" line 
    It's still showing an authentication prompt. 
    That's how the file looks now: 

    Alias /lpar2rrd  "/home/lpar2rrd/lpar2rrd/www/"
    <Directory "/home/lpar2rrd/lpar2rrd/www/">
    #    AllowOverride AuthConfig FileInfo
        Options Indexes FollowSymLinks
        AuthType basic
        AuthName "LPAR2RRD authorization"
        AuthUserFile /etc/httpd/conf/htpasswd
        Require valid-user
    </Directory>

    # CGI-BIN
    ScriptAlias /lpar2rrd-cgi/ "/home/lpar2rrd/lpar2rrd/lpar2rrd-cgi/"
    <Directory "/home/lpar2rrd/lpar2rrd/lpar2rrd-cgi">
    #    AllowOverride AuthConfig FileInfo
        SetHandler cgi-script
        Options ExecCGI FollowSymLinks
        AuthType basic
        AuthName "LPAR2RRD authorization"
        AuthUserFile /etc/httpd/conf/htpasswd
        Require valid-user
    </Directory>
    SetEnv VM_IMAGE 1
     
  • Also, the only user that works now is monitor
  • I've added
        allow from all
        Satisfy Any
    to the file and it works now... 
  • yep, it could be :)
Sign In or Register to comment.