delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/07/01/19:25:29

X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
From: Hennie <hennie AT harink DOT com>
Subject: groups command shows user in group users while it is not
Date: Sun, 1 Jul 2007 23:19:07 +0000 (UTC)
Lines: 30
Message-ID: <loom.20070702T010816-680@post.gmane.org>
Mime-Version: 1.0
User-Agent: Loom/3.14 (http://gmane.org/)
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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

I have installed cygwin on a slihghtly in XPhome

i created a user foo in xphome and trew the account OUT of the group users
with the command net localgroup users foo /DEL

the command net user foo does therefore show the user foo not to be anymore in 
the group users
Full Name foo
... stuff left away.....
Local Group Memberships      *gast                 *SshAllow
Global Group memberships     *None
The command completed succesfully

i have installed sshd and login via an ssh client to cygwin as user foo

i give the command groups

i see 

$ groups
gast None Users SshAllow


Question.... 
1. How come i see the user is still in the group Users ?
2. Is there a way to get the user foo OUT of the group Users ?






--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.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