I have an ubuntu 8.04 server running nagios. It uses htpasswd for authentication and user privileges. I would like to sync the passwd file to the htpasswd file so that when I add or remove a user from the machine (or they change their password in the shell) the changes are immediately reflected in htpasswd.
I've seen simple awk scripts to transfer data between the files, but I'm looking for complete synchronization. Is this even possible?
I've seen simple awk scripts to transfer data between the files, but I'm looking for complete synchronization. Is this even possible?