def getent(refresh=False):
    if 'user.getent' in __context__ and not refresh:
        return __context__['user.getent']

    ret = []
    for data in pwd.getpwall():
        ret.append(info(data.pw_name))
    __context__['user.getent'] = ret
    return ret
Return the list of all info for all users
dataset/ETHPy150Open saltstack/salt/salt/modules/pw_user.py/getent