code: def set_user_password(name, passwd, **client_args):
      '''
      Change password of a user.
  
      name
          Name of the user for whom to set the password.
  
      passwd
          New password of the user.
  
      CLI Example:
  
      .. code-block:: bash
  
          salt '*' influxdb.set_user_password <name> <password>
      '''
      if not user_exists(name, **client_args):
          log.info('User \'%s\' does not exist', name)
          return False
  
      client = _client(**client_args)
      client.set_user_password(name, passwd)
  
      return Truf set_user_password(name, passwd, **client_args):
      '''
      Change password of a user.
  
      name
          Name of the user for whom to set the password.
  
      passwd
          New password of the user.
  
      CLI Example:
  
      .. code-block:: bash
  
          salt '*' influxdb.set_user_password <name> <password>
      '''
      if not user_exists(name, **client_args):
          log.info('User \'%s\' does not exist', name)
          return False
  
      client = _client(**client_args)
      client.set_user_password(name, passwd)
  
      return True
docs: Change password of a user.
  
      name
          Name of the user for whom to set the password.
  
      passwd
          New password of the user.
  
      CLI Example:
  
      .. code-block:: bash
  
          salt '*' influxdb.set_user_password <name> <password>