delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/07/17/09:19:32

X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
From: Hennie <hennie AT harink DOT com>
Subject: Re: cygwin on XP home edition (Please help i cant get further with this)
Date: Tue, 17 Jul 2007 13:18:53 +0000 (UTC)
Lines: 64
Message-ID: <loom.20070717T151142-193@post.gmane.org>
References: <loom DOT 20070715T160116-57 AT post DOT gmane DOT org> <20070716201739 DOT GB20662 AT calimero DOT vinschen DOT de>
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

Corinna Vinschen <corinna-cygwin <at> cygwin.com> writes:

> 
> On Jul 15 14:11, Hennie wrote:
> > Is nobody using XP home edition in combination with cygwin?
> 
> Not voluntarily, no.
> 
> > Then throw it out of the group users.
> > 
> > you can do this in a windows cmd box with. 
> > 
> > net localgroup users USERNAME /DEL
> > 
> > And after that do a mkpassword and mkgroup in cygwin 
> > 
> > mkuser -l > /etc/passwd   
> > mkgroup -u -l > /etc/group
> > 
> > login (via ssh preferably)  as that user and give the command 
> > 
> > $groups
> > 
> > Is it according to cygwin still in the group users ?
> > If so is this a behaviour of XP home edition?
> > Does this allso happen in XP professional?
> 
> It also happens on XP Professional.  I have no idea why yet.  There's
> nothing special with the users group in Cygwin.  The group list is taken
> from the returned user/group lists of the Win32 API.  I'm wondering if
> Windows adds the Users group to the list if the user is not in any local
> group.  I'll investigate this further at one point.
> 
> Corinna
> 


Ah well for wat XP home edition goes on, i have put in that specific user whom 
i threw out of the group users into another group i created

again from a windows command box.
i added a group called SshAllow

>net localgroup SshAllow /add

now there is a group called SshAllow

added that user   to this group

>net localgroup SshAllow [USERNAME] /add

And after that do a mkpassword and mkgroup in cygwin 
 
mkuser -l > /etc/passwd   
mkgroup -u -l > /etc/group
 
login (via ssh preferably)  as that user and give the command 
 
$groups


Still this user is in 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