diff --git a/library/user b/library/user index 8e8278d012..993885d7b3 100755 --- a/library/user +++ b/library/user @@ -314,7 +314,7 @@ def user_group_membership(user): groups = [] info = get_pwd_info(user) for group in grp.getgrall(): - if user in group[3] and info[3] != group[2]: + if user in group[3]: groups.append(group[0]) return groups