delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/08/31/15:07:33

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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
MIME-Version: 1.0
Subject: RE: ssh - no access to /dev/st0
Date: Tue, 31 Aug 2004 15:02:26 -0400
Message-ID: <536E63F3472B3F4486A01F301164FEC8584E24@mccmsrv.mccnet.mobilecom.com>
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
From: "Cary Lewis" <CLewis AT mobilecom DOT com>
To: "Cygwin List" <cygwin AT cygwin DOT com>
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id i7VJ7U6L006999

If I add sshd_server to the Administrators group, I can auto logon via
ssh (using authorized_keys). Even though this is supposed to happen via
ssh-host-config.

But I still do not have access to /dev/st0, but if I disable auto-logon
and type in my password, all works.

The interesting thing is that the id command returns a different set of
groups for me when I log on automatically or I specify the password.

The uid and gid are the same, but the list of groups is different: For
the automatic logon I only get Domain Admins and Users

Any suggestions would be appreciated.

Thanks.

-----Original Message-----
From: Larry Hall [mailto:lh-no-personal-replies-please AT cygwin DOT com] 
Sent: Tuesday, August 31, 2004 12:36 PM
To: Cary Lewis; cygwin AT cygwin DOT com
Subject: RE: ssh - no access to /dev/st0

At 12:24 PM 8/31/2004, you wrote:
>The issue is that during command line execution of a tar command, sshd
>has not set the environment properly, namely the mount points are not
>there, so /dev/st0 does not exist, and the PATH variable does not point
>to the correct cygwin files either.
>
>What might be causing this.
>
>It works fine with an interactive ssh session (providing auto logon is
>not set up).
>


I think it's time to start over on this one too:

>Problem reports:       http://cygwin.com/problems.html


You might want to run your server in debug mode and see if you can 
spot the problem here.  My WAG is permissions problems on ~/.ssh and/or
log files/directories and/or 'sshd' isn't running with all the
permissions 
it needs.  But that's just guessing.  The debug output should help
ferret
out the real answer.



--
Larry Hall                              http://www.rfk.com
RFK Partners, Inc.                      (508) 893-9779 - RFK Office
838 Washington Street                   (508) 893-9889 - FAX
Holliston, MA 01746                     


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