delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/05/10/14:09:57

X-Spam-Check-By: sourceware.org
Date: Thu, 10 May 2007 14:09:37 -0400
From: Christopher Faylor <cgf-use-the-mailinglist-please AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: su: cannot set groups: Invalid argument
Message-ID: <20070510180937.GA5909@ednor.casa.cgf.cx>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <5004c9f90705101048g4a7a6e31sdd2645bde8d8e980 AT mail DOT gmail DOT com>
MIME-Version: 1.0
In-Reply-To: <5004c9f90705101048g4a7a6e31sdd2645bde8d8e980@mail.gmail.com>
User-Agent: Mutt/1.5.14 (2007-02-12)
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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

On Thu, May 10, 2007 at 10:48:55AM -0700, Ben Atkin wrote:
>I've been using the standard cygwin distribution for setting up
>ssh/sftp on Windows Server 2003. It's been working fine for the
>Administrator account, but now I'd like to set up another account and
>use that, just in case people see ssh running on a windows computer
>and try running a password guesser on the Administrator account.
>
>There is a domain account that I'd like to use. I can get to it if I
>ssh into the domain controller, but it won't work for other computers
>on the domain. I searched for a solution, and I found mkpasswd. I ran
>"mkpasswd -d (domain) -u (user)" and it worked without error and so I
>appended the entry to /etc/passwd.
>
>To test it, I tried doing "su (username)". It prompts me for the
>password, and after I enter the password, it says "su: cannot set
>groups: Invalid argument". Does anyone have any idea why this error
>might occur? I searched for my error message to no avail.

http://cygwin.com/faq/faq-nochunks.html#faq.using.su

cgf

--
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