diff --git a/user b/user index 8e8278d012c..993885d7b39 100755 --- a/user +++ b/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