Windows 7 sshd can only login as cyg_server
Corinna Vinschen
corinna-cygwin@cygwin.com
Fri Aug 22 20:44:00 GMT 2014
On Aug 22 16:30, Larry Hall (Cygwin) wrote:
> On 08/22/2014 04:19 PM, Corinna Vinschen wrote:
> >On Aug 22 13:23, Larry Hall (Cygwin) wrote:
> >>On 08/22/2014 09:06 AM, Corinna Vinschen wrote:
> >>>On Aug 21 15:16, Bernd Prager wrote:
> >>>>sshd: PID 2968: fatal: chown(/dev/pty1, 124683, 10513) failed: Permission
> >>>>denied
> >>>>
> >>>>Can anybody help?
> >>>
> >>>I'll have to test this, but as a start, can you try to setup
> >>>cyg_server as a domain account? See
> >>>https://cygwin.com/faq/faq.html#faq.using.sshd-in-domain
> >>
> >>I know this is a contradictory report but logging in (pubkey) with my domain
> >>user account and local cyg_server actually works fine. I know. I'm
> >>surprised too. ;-) This is W7 Enterprise and Cygwin 64-bit.
> >
> >Is your domain account an admin or a non-admin account?
>
> It is a member of local Administrators.
That's what I meant. Do you have a non-admin account for testing
a login?
> >Today I confused myself a lot by trying it (I'm using a domain cyg_server
> >account for years so it was a bit of hacking) and I was able to login
> >with a domain admin account but not with a normal domain account.
>
> That's with a local cyg_server running the service?
Yes, sorry for not being clearer. That was the hacky part. It required
to change the domain policy and stuff like that.
> >I didn't manage to debug this further. However, what I never encounter is
> >a "chown(/dev/ptyX,...) Permission denied" message.
>
> Yeah, me neither. That's... special. ;-)
...and a bit incomprehensible :(
Corinna
--
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Maintainer cygwin AT cygwin DOT com
Red Hat
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/20140822/6b19c410/attachment.sig>
More information about the Cygwin
mailing list