title: How to know the effective group of a specified user without using su
body: <p>Sometimes I want to know the effective group of a specified user by using <code>su</code> and <code>groups</code>. Using <code>su</code> is cumbersome. So is there a way to do that without using <code>su</code>?</p>