Running script when domain admin changes password

4 posts / 0 new
Last post
#1 Tue, 01/20/2009 - 04:36
jsoderba

Running script when domain admin changes password

Is there a way that I could have Virtualmin run a script when a domain admin changes password. I'd like to set it up so that it automatically changes the MySQL password setting in the CMS we're using when admins change their passwords.

I'm using Virtuamin GPL on CentOS 5.

Tue, 01/20/2009 - 04:39
andreychek

I don't believe there's a way to do that now.

If you're interested in pursuing that, you might try putting that into the Bugs and Issues tracker.

That's an interesting feature idea, perhaps Jamie would be interested in implementing that.
-Eric

Tue, 01/20/2009 - 10:15 (Reply to #2)
Joe
Joe's picture

Actually, I'm pretty sure there is a pre/post hook for this. Maybe the Users and Groups command will run when changing passwords? That'll end up getting run for everyone, so you'll have to make it smart enough to recognize users that have applications to fix (but you'll have to make it smart enough for that anyway). But, I'm pretty sure that'll work.

Holler if it doesn't or the docs at http://doxfer.com/Webmin/UsersAndGroups#Before_and_after_commands don't tell you what you need to know to make it work, and I'll get Jamie to check in on this thread to answer any further queries.

--

Check out the forum guidelines!

Tue, 01/20/2009 - 23:36 (Reply to #3)
jsoderba

Thanks. I'll check it out.

Topic locked