From: Jamie C. <jca...@we...> - 2002-08-29 10:47:55
|
Boniforti Flavio wrote: > Hy there! > > Is there a way to alter the way a button works? I'll explain deeper: > I would like to add an action to a button, and my specific case is that > I add a user to my /etc/passwd file and when I create that user, I also > would like to "rsync" /etc/passwd with /var/spool/postfix/etc/passwd > (yes, it's a chrooted Postfix, that's why I need to rsync the stuff!).. > > Any help appreciated (Jamie, I know you have the solution at your > hand!)... Fortunately, because so many people want to have commands run after making changes to users and groups, if you go into the Users and Groups module and click on Module Config you will see an option 'Command to run after making changes'. Just set that to your rsync command, and every time someone adds, modifies or deletes a user it will be run. - Jamie |