Help with authentication

2003-07-28 Thread Emanuele Zanotti
Hi all,

this is my problem:
1) I set the following in mon.cf:

authtype = userfile
userfile = /usr/local/mon/etc/userfile

2) and create userfile with:

/usr/local/apache/bin/htpasswd -c /usr/local/mon/etc/userfile root

3) restarted the mon server

While accessing from the mon.cgi web interface (v.1.52) I cannot perform
some reserved tasks and I got the following errors:

Could not reload auth mon server on server localhost: 520 command
could not be executed (perhaps you don't have permissions in auth.cf?)

What's missing?
Thank you.



Emanuele Zanotti


___
mon mailing list
[EMAIL PROTECTED]
http://linux.kernel.org/mailman/listinfo/mon


Re: Help with authentication

2003-07-28 Thread Andrew Ryan
In addition to setting up a userfile and creating a user, which you did,
you also need to make sure that the auth.cf file is set up properly for
that user. Also make sure that the user mon runs as has permissions to
read the userfile and auth.cf file.

On Mon, 28 Jul 2003, Emanuele Zanotti wrote:

 Hi all,

 this is my problem:
 1) I set the following in mon.cf:

 authtype = userfile
 userfile = /usr/local/mon/etc/userfile

 2) and create userfile with:

 /usr/local/apache/bin/htpasswd -c /usr/local/mon/etc/userfile root

 3) restarted the mon server

 While accessing from the mon.cgi web interface (v.1.52) I cannot perform
 some reserved tasks and I got the following errors:

 Could not reload auth mon server on server localhost: 520 command
 could not be executed (perhaps you don't have permissions in auth.cf?)

 What's missing?
 Thank you.



 Emanuele Zanotti


 ___
 mon mailing list
 [EMAIL PROTECTED]
 http://linux.kernel.org/mailman/listinfo/mon


___
mon mailing list
[EMAIL PROTECTED]
http://linux.kernel.org/mailman/listinfo/mon