This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: "Illegal User" when logging into sshd


On Tue, Jul 31, 2001 at 09:58:44AM -0400, Prentis Brooks wrote:
> Here is the scenario:
> 
> Running sshd out of cygrunsrv as system.  sshd operating fine, performing
> both password and rsa authentication for any domain admin account that I add
> to /etc/passwd.  I need to allow rsa authentication for a single non-domain
> admin account onto my member servers.  The problem is that regardless of the
> authentication method, sshd reports a failed attempt for "illegal user foo".
> 
> I have tried foo@host, domain\\foo@host, and even tried adding the user to the
> local Adminstrators group to see if I had a perm issue.  The domain account
> was added to /etc/passwd in the following manner:
> 
> mkpasswd -d | grep foo >>/etc/passwd
> and the home directory was created and chowned to that user, still no dice.

Did you restart sshd after creating the entry in /etc/passwd?

Under Cygwin processes get a copy of /etc/passwd and /etc/group
in the process memory on the first access to these files for
performance reasons. Later changes to these files aren't recognized
by a running process.

Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin@cygwin.com
Red Hat, Inc.

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]