delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/02/18/22:59:00

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.4 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS
X-Spam-Check-By: sourceware.org
Message-ID: <499CD860.80409@cygwin.com>
Date: Wed, 18 Feb 2009 22:56:16 -0500
From: "Larry Hall (Cygwin)" <reply-to-list-only-lh AT cygwin DOT com>
Reply-To: cygwin AT cygwin DOT com
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.19) Gecko/20090101 Remi/2.0.0.19-1.fc8.remi Lightning/0.9 Thunderbird/2.0.0.19 Mnenhy/0.7.5.0
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: sshd w/o admin?
References: <c4e763ac0902172203k559a0f3dg99af0d680edc4431 AT mail DOT gmail DOT com> <499C384F DOT 2070708 AT cygwin DOT com> <c4e763ac0902181650k23c5dd02t9b3ce0b20130531d AT mail DOT gmail DOT com> <499CBDE4 DOT 6020109 AT cygwin DOT com> <c4e763ac0902181850p4ffd8cadhe6a530f7102de442 AT mail DOT gmail DOT com>
In-Reply-To: <c4e763ac0902181850p4ffd8cadhe6a530f7102de442@mail.gmail.com>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.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

Aaron Davies wrote:
> On Thu, Feb 19, 2009 at 10:03 AM, Larry Hall (Cygwin) wrote:
> 
>> Aaron Davies wrote:
>>
>>> On Thu, Feb 19, 2009 at 12:33 AM, Larry Hall (Cygwin) wrote:
>>   ^^^^^^
>> <http://cygwin.com/acronyms/#PCYMTNQREAIYR>  Thanks!
> 
> is this even possible in gmail? if not, i'll do it manually for now.

Not sure.  Probably not.  But I don't know much about gmail so I wouldn't
put too much stock in anything I might say about it.

<snip>

> I tried moving all my keys aside (outside of ~/.ssh). Now "ssh
> localhost" on the local box takes my password, prints the banner, then
> quits with "Connection to localhost closed."
> 
> % ssh localhost
> adavies AT localhost's password:
> Last login: Thu Feb 19 10:41:39 2009 from localhost
> Connection to localhost closed.
> 
> The same setreuid error is left in the event log
> 
> Why exactly does it need to setreuid to me when it's already me? This
> sshd process is started by and running under the same id it's trying
> to become.

I'm not sure.  I thought this was because it was trying to use pub-key
authentication, which is why I suggested password.  So I can't help
here.

>> Also, FWIW, using a remote drive as your home adds a level of
>> complication.  You may want to try to create a local home directory,
>> point to this in your '/etc/passwd', and rerun 'ssh-user-config' if
>> you continue to have problems.
> 
> I'll give this a try next, I guess.

It's worth a shot.  If you get things working that way, you can
always try going back to your remote home and set 'smbntsec' in
your CYGWIN environment variable.

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

_____________________________________________________________________

A: Yes.
 > Q: Are you sure?
 >> A: Because it reverses the logical flow of conversation.
 >>> Q: Why is top posting annoying in email?

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