This is the mail archive of the cygwin 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]
Other format: [Raw text]

Re: ssh gives nt authority/system windows who


Lucio Cosmo wrote:
> 
> Il giorno 15/mag/07, alle ore 16:06, Larry Hall (Cygwin) ha scritto:
> 
>> Lucio Cosmo wrote:
>>> Hello All.
>>>
>>> [...]
>>>
>>> instead of "nt authority/system" i should have "sofiaxp2/lucio".
>>>
>>> When I run the script in the first case, all works, in the second VS
>>> hungs up.
>>>
>>>
>>> Is there any easy solution to the problem ?
>>> It does give no hassle to change / force things on the machine,
>>> administration grants, and so on. I need only to make it work :)
>>>
>>> Thanks a lot in advance for any suggestion.
>>
>> Try password authentication.  If you need public key authentication,
>> you'll either have to wait until 1.7 releases with the subauth
>> functionality
>> in it or pull a snapshot now (with all the obvious caveats about using a
>> snapshot).
> 
> Thanks, with password authentication it works. But I need to automate.
> My only chance is to use .rhosts with ssh -1 ?

Actually I doubt that would cut it either.  I would say that you either
need to remove the password from the user in question and tell sshd to
accept empty passwords or run the sshd service as the user you need to
be to make this work.  The first option is less secure and the second
limits you to only using ssh as the user you're running the service as
(you can run more than one sshd service though if you need to support
more general access too).

> Then, what is the subauth functionality and where I can find doc about ?

<http://www.google.com/search?as_q=subauth&hl=en&num=10&btnG=Google+Search&as_epq=&as_oq=&as_eq=&lr=&as_ft=i&as_filetype=&as_qdr=all&as_nlo=&as_nhi=&as_occt=any&as_dt=i&as_sitesearch=cygwin.com&as_rights=&safe=images>

> From what snapshot is it supported ?

Your favorite one. ;-)

<http://cygwin.com/snapshots/>

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


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