code: def set_change(name, change):
      '''
      Sets the time at which the password expires (in seconds since the UNIX
      epoch). See ``man 8 usermod`` on NetBSD and OpenBSD or ``man 8 pw`` on
      FreeBSD.
  
      A value of ``0`` sets the password to never expire.
  
      CLI Example:
  
      .. code-block:: bash
  
          salt '*' shadow.set_change username 1419980400
      '''
      pre_info = info(name)
      if change == pre_info['change']:
          return True
      if __grains__['kernel'] == 'FreeBSD':
          cmd = ['pw', 'user', 'mod', name, '-f', change]
      else:
          cmd = ['usermod', '-f', change, name]
      __salt__['cmd.run'](cmd, python_shell=False)
      post_info = info(name)
      if post_info['change'] != pre_info['change']:
          return post_info['change'] == changf set_change(name, change):
      '''
      Sets the time at which the password expires (in seconds since the UNIX
      epoch). See ``man 8 usermod`` on NetBSD and OpenBSD or ``man 8 pw`` on
      FreeBSD.
  
      A value of ``0`` sets the password to never expire.
  
      CLI Example:
  
      .. code-block:: bash
  
          salt '*' shadow.set_change username 1419980400
      '''
      pre_info = info(name)
      if change == pre_info['change']:
          return True
      if __grains__['kernel'] == 'FreeBSD':
          cmd = ['pw', 'user', 'mod', name, '-f', change]
      else:
          cmd = ['usermod', '-f', change, name]
      __salt__['cmd.run'](cmd, python_shell=False)
      post_info = info(name)
      if post_info['change'] != pre_info['change']:
          return post_info['change'] == change
docs: Sets the time at which the password expires (in seconds since the UNIX
      epoch). See ``man 8 usermod`` on NetBSD and OpenBSD or ``man 8 pw`` on
      FreeBSD.
  
      A value of ``0`` sets the password to never expire.
  
      CLI Example:
  
      .. code-block:: bash
  
          salt '*' shadow.set_change username 1419980400