# system.security.setPassword

**URL:** <https://forum.inductiveautomation.com/t/system-security-setpassword/8223>\
**Category:** Ignition\
**Created:** [March 26, 2014, 11:21pm UTC](https://forum.inductiveautomation.com/t/system-security-setpassword/8223 "2014-03-26T23:21:18Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Javachon](https://avatars.discourse-cdn.com/v4/letter/j/ac8455/32.png) [@Javachon](https://forum.inductiveautomation.com/u/Javachon)\
**Post date:** [March 26, 2014, 11:21pm UTC](https://forum.inductiveautomation.com/t/system-security-setpassword/8223/1 "2014-03-26T23:21:18Z")

</div>

I would really appreciate a simple system.security.setPassword script function. That would allow to create a simple popup window to request a new password on specific triggers (first login, delay)

---

<div class="post-metadata">

**Author:** ![diat150](https://avatars.discourse-cdn.com/v4/letter/d/a587f6/32.png) [@diat150](https://forum.inductiveautomation.com/u/diat150)\
**Post date:** [March 27, 2014, 12:49am UTC](https://forum.inductiveautomation.com/t/system-security-setpassword/8223/2 "2014-03-27T00:49:35Z")

</div>

are you using database authentication? You can do some of these things if you add columns into the users\_db. I am going off of 7.5, I know some of the user table stuff changed in 7.6 but if you can still add columns then you can do things like when you create the user stick a 1 in a boolean column, which coupled with a client startup script that looks for a 1 in that column based on the username, would force the user to change the password. same thing with changing the password. you can write into a date column and in the client startup script test to see if the date in the column for that user is \> then 90 days, if it is then force a password change.

---

<div class="post-metadata">

**Author:** ![Javachon](https://avatars.discourse-cdn.com/v4/letter/j/ac8455/32.png) [@Javachon](https://forum.inductiveautomation.com/u/Javachon)\
**Post date:** [March 27, 2014, 6:20pm UTC](https://forum.inductiveautomation.com/t/system-security-setpassword/8223/3 "2014-03-27T18:20:48Z")

</div>

I use database authentification. I could do an update statement on the password but I don’t know how to encode it to get the right string to put in the database. It’s why I was asking for a system.security.setPassword script function. Also, with a system.security.setPassword script function, it would be possible to change the password with any kind of user source.
