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

« Previous Version 2 Current »

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


Troubleshooting Internal Authentication for opCharts

1. First this to double-check is if opCharts is running in standalone mode or not, it should not be.  Details here: opCharts Administration Guide

2. Second thing is see if there is a Users.nmis file in /usr/local/omk/conf, if there is rename it and try to login with the users.  

3. It should work now, if not Sym link /usr/local/nmis8/conf/Users.nmis to /usr/local/omk/conf/Users.nmis

Sym Link
ln -s /path/to/file /path/to/symlink




  • No labels