Dear all, I would like to know how to keep primary gid status when using ssh command. We know that, with sg command in ssh command line, it is successful in this case. If there is the setting on sshd, I want to know the way. Can you please advise me. I show a example as below. $ id uid=1002(taro) gid=1002(suzuki) groups=10(wheel),1002(suzuki),8001(tanaka) $ newgrp tanaka $ id uid=1002(taro) gid=8001(tanaka) groups=10(wheel),1002(suzuki),8001(tanaka) $ ssh remote-host id uid=1002(taro) gid=1002(suzuki) groups=10(wheel),1002(suzuki),8001(tanaka) $ ssh remote-host "sg tanaka id" uid=1002(taro) gid=8001(tanaka) groups=10(wheel),1002(suzuki),8001(tanaka) Regards, Satoshi Isono