This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
question regarding id command
- From: "Gupta, Sanjay" <SGupta at Epylon dot com>
- To: "'cygwin at cygwin dot com'" <cygwin at cygwin dot com>
- Date: Fri, 5 Apr 2002 13:17:49 -0800
- Subject: question regarding id command
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/