...
To change the Unix passwords, type
man passwd
either login as the user in question and run the passwd
command, or become the superuser and run passw
d otheruser.
Code Block |
---|
# to change this user's password
passwd
# to change the nmis user password
sudo passwd nmis |
To change the Web Users passwords, if you have not integrated Apache with another form of Authentication, it will be using the default method which are users defined in a file managed with htpasswd.
The default installation location for NMIS8 is /usr/local/nmis8, it may be installed somewhere else, adjust the commands accordingly
To update the password for user SOMEUSER, run the following commands as user nmis or root:
Code Block |
---|
cd /usr/local/nmis8/conf |
...
# use crypt for hashing
htpasswd -d users.dat SOMEUSER
# use apache-specific md5 for hashing, and only for NMIS after 8.5G
htpasswd -m users.dat SOMEUSER |
Important: in versions up to and including 8.5G, NMIS only supports crypt as password hashing method. Depending on your operating system your htpasswd
program may default to the MD5 method and in that case you must include the -d
argument as shown above.
Default Credentials for the NMIS4 VM
...