delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/04/05/16:18:32

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-ID: <657B20E93E93D4118F9700D0B73CE3EA0D397237@goofy.epylon.lan>
From: "Gupta, Sanjay" <SGupta AT Epylon DOT com>
To: "'cygwin AT cygwin DOT com'" <cygwin AT cygwin DOT com>
Subject: question regarding id command
Date: Fri, 5 Apr 2002 13:17:49 -0800
MIME-Version: 1.0

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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019