forums.meulie.net

Htpassword issue

The htpasswd.users file lists only the last username and password I enter.
The login works but I would like to have more than one login.

My apologies if this has been brought up before–I didn’t see it when I searched under htpasswd.

Thanks for your time.

Fedora Core4
Nagios 2.0b4

are you using the -c flag each time you enter a user?

Luca

Ah, the -c recreates the file! I haven’t used that command before and was told that -c was for encryption.

I’ll include what I used so that it can be found when searched.

htpasswd -c /usr/local/nagios/etc/htpasswd.users “username”

htpasswd /usr/local/nagios/etc/htpasswd.users “username2”

Thanks for your help!

great! :slight_smile:

Luca