I have a new install of NMIS 9.4.4 on a server running Ubuntu 22.
Everything installed fine, and I can login now using the nmis user that comes bundled.
I have created the new user user1 in the nmis9 gui, but when I attempt to create the user at the console I get an error:
root@host1:~# htpasswd -d users.dat user1htpasswd: cannot modify file users.dat; use '-c' to create it
One thing I tried, in the Config.nmis file I changed the setting:
'auth_htpasswd_file' => '<nmis_conf>/users.dat',
to
'auth_htpasswd_file' => '/usr/local/nmis9/conf/users.dat',
But still get the same error.
Also, using the htpasswd -m switch gets the same error.
thank you
Sorry, should have waited a couple more minutes. I got it to work using this command:
htpasswd -m /usr/local/nmis9/conf/users.dat user1
I have a new install of NMIS 9.4.4 on a server running Ubuntu 22.
Everything installed fine, and I can login now using the nmis user that comes bundled.
I have created the new user user1 in the nmis9 gui, but when I attempt to create the user at the console I get an error:
root@host1:~# htpasswd -d users.dat user1
htpasswd: cannot modify file users.dat; use '-c' to create it
One thing I tried, in the Config.nmis file I changed the setting:
'auth_htpasswd_file' => '<nmis_conf>/users.dat',
to
'auth_htpasswd_file' => '/usr/local/nmis9/conf/users.dat',
But still get the same error.
Also, using the htpasswd -m switch gets the same error.
thank you