[Check_mk (english)] passwordless login or autologin

I like this:
http://USER:PASS@OMDHOST/SITE/check_mk/

But I would just like to login as a guest user to:
http://OMDHOST/SITE/check_mk/

I tried editing apache or dropping in an .htaccess file, but nothing worked.

Anyway to enable passowrdless login to http://OMDHOST/SITE/check_mk?

Thanks,

···

Francesco DiOrazio

So I created a rewrite rule to handle this in apache, however, it would be nice to have a default user (without logging in) that has guest permissions.

···

Sincerely,

On Wed, Sep 16, 2015 at 3:37 PM, Francesco DiOrazio francesco@wepay.com wrote:

I like this:
http://USER:PASS@OMDHOST/SITE/check_mk/

But I would just like to login as a guest user to:
http://OMDHOST/SITE/check_mk/

I tried editing apache or dropping in an .htaccess file, but nothing worked.

Anyway to enable passowrdless login to http://OMDHOST/SITE/check_mk?

Thanks,

Francesco DiOrazio

Francesco DiOrazio

Ok, so I’ll submit my suggestion for a rewrite rule (works for me), perhaps someone can comment on the quality or suggest a better solution:

cat /etc/httpd/conf.d/redirect.conf

RewriteEngine On

RewriteCond %{HTTP_HOST} ^(CUSTOM_URL.COM)$

RewriteRule ^/$ http://GUEST_USER:GUEST_PASSWORD@CUSTOM_URL/SITE/check_mk/$1 [R=301,L]

···

On Mon, Sep 21, 2015 at 1:45 PM, Francesco DiOrazio francesco@wepay.com wrote:

So I created a rewrite rule to handle this in apache, however, it would be nice to have a default user (without logging in) that has guest permissions.

Francesco DiOrazio

DevOps

350 Convention Way, Suite 200
Redwood City, CA 94063
Payments API for Platform Businesses

Sincerely,
Francesco DiOrazio

On Wed, Sep 16, 2015 at 3:37 PM, Francesco DiOrazio francesco@wepay.com wrote:

I like this:
http://USER:PASS@OMDHOST/SITE/check_mk/

But I would just like to login as a guest user to:
http://OMDHOST/SITE/check_mk/

I tried editing apache or dropping in an .htaccess file, but nothing worked.

Anyway to enable passowrdless login to http://OMDHOST/SITE/check_mk?

Thanks,

Francesco DiOrazio