I have missed word "not" in my previous email. " Why the output of id -Gn and id -Gn Sgupta is NOT same , assuming that I am logged in as Sgupta "
It looks like id -Gn prints all the groups (Primary, Secondary), if I put user name like id -Gn SGupta , it only prints the Primary Group. Is it true ? According to docmentaion of id command, it should print all (Primary, Secondary) groups. Please let me know, if I am wrong ? Thanks Sanjay ---------------------------------------------------------------------------- ---------------------------------------------------------------------------- ---- > When I issue the id command as follows > $id -Gn > > it gives me the following output > > Domain Users Everyone DBAs Epylon Employees Neptune DBA Operations > Administrators Users ORA_DBA > > $ id -Gn SGupta > > It gives only the following output > Domain Users > > $ whoami > SGupta > > My current user is SGupta, so when I include my username in id commands, > I do not see all groups which Sgupta belongs to. > > Why the output of id _Gn and id -Gn Sgupta is same , assuming that I am > logged in as Sgupta > > **Note**, The above commands gives me the expected result in Sun OS. > > Any thoughts, > > Thanks > Sanjay > > > -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/