09-05-2014 12:07 PM
Is there a simple way to implement a flag to force a user to change their password upon the next login?
I can easily code a labview VI to embed in the LoginLogout sequence of FrontEndCallbacks that pops up and takes a password, then sets it using the User.Property.
I thought about using a Custom Privilege, but that runs into the wrinkle of being always overriden by the GrantAll flag. I've also thought about using a StationGlobal, but that could possibly be accidentally overwritten by a developer.
Has anyone else gone through this problem and figured out an elegant solution?
Thanks in advance,
Seth
09-05-2014 12:13 PM
I've never done this but it is defnitely intriguing. If I were to do it here's what I would do:
I would go through and add attributes to all the users. I would set that attribute as some sort of timestamp. Then in your login VI I'd check that attribute and if it is past a certain date I'd make them reset their password. Once they do reset it then you set the attribute to the current date/time. Seems simple and elegant.
Hope this helps,
09-08-2014 08:03 AM
I agree with jiggawax's proposed solution. That seems like a clean way to solve the problem.
Please post back if you end up implementing this, because it seems like something others could be interested in. You could also post a snippet of code on the NI Community as an example for other TestStand users.
09-10-2014 02:46 PM
Thanks Jigg and Daniel,
I'm currently implementing this as suggested, and will post again if it works (though it looks like it should be pretty straightforward).
Thanks,
Seth