Page tree
Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Using Internal Authentication

We recommend updating the authentication system from apache to htpasswd (so NMIS does authentication instead of Apache). 3 steps need to be taken to change this.

Change Config.nmis to tell NMIS to use htpasswd 

%hash = (
 'authentication' => {
   'auth_method_1' => 'htpasswd',  # <= change this FROM apache TO htpasswd

Backup old apache config

Generate new apache configuration (if you have customised yours edit it and remove the auth portions instead of generating a new one) 

#backup old config
cp00nmis.conf 00nmis.conf.pre-8.4.6G.bak

Update Apache Config for NMIS

Create new config to replace old config and restart apache 

/usr/local/nmis8/bin/ type=apache > /etc/httpd/conf.d/00nmis.conf
service httpd restart
  • No labels