X-Spam-Check-By: sourceware.org To: cygwin AT cygwin DOT com From: Hennie 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: References: <20070716201739 DOT GB20662 AT calimero DOT vinschen DOT de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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: List-Subscribe: List-Archive: List-Post: List-Help: , 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 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/