Scheme script for resetting local user passwords

The following script resets a local user's password using the updatablePassword event.

Syntax:

updatablePassword "newPassword"

In the following example, the user's password is set to passWrd123.

(define usr (read-instance User '(name) '(= name "user11") #f))
    (usr'updatablePassword "passWrd123")