# File lib/specinfra/command/base/user.rb, line 11 def check_belongs_to_primary_group(user, group) "id -gn #{escape(user)}| grep ^#{escape(group)}$" end