question regarding id command

Gupta, Sanjay SGupta@Epylon.com
Fri Apr 5 13:18:00 GMT 2002


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/



More information about the Cygwin mailing list