Problem with 'sg' command on different linux distributions

"sg" apparently asks for a password on ubuntu and centos (tested).

I've tested the command used by rvm-capistrano on my local machine and get the same result (e.g. sg rvm ls).
Using sudo for this command would solve the problem for me, but I have no idea about the implications..