delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2015/12/30/09:02:42

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:date:from:reply-to:to:message-id:in-reply-to
:references:subject:mime-version:content-type
:content-transfer-encoding; q=dns; s=default; b=Ue2TecdERPnHUWKm
qJykBSM3YqIN4dJ4rXPdRXjVei1bbGD7hDMWJ2dtrwOGQuAnRc67eNyLgdAXM0QG
R/RjxnwV3CDkzNbhpAp2qWDlXyiIPOktKmA7Z21ZOdr5L2mqb/gz5cncxN08egLE
Uh8C3PB/3l8icu7nxjgIAYM0ToI=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:date:from:reply-to:to:message-id:in-reply-to
:references:subject:mime-version:content-type
:content-transfer-encoding; s=default; bh=S+Com35cJchEtCBZy4CHRJ
+Qe1c=; b=yWNfegiIhfwv0WPEQfkFKptFF9URyWK9X43Cg67vq8WL6MoX2uJRmn
341EXzGyu0+po1Yd0RkTSlWNIAK/z+Zxyu9bEYnECeyc9UfFOy6WWXwWZIeC0GRP
l9HWVe4j9I5CVPkM6bxgz6i63BJ77N62BfN+cGP5hKGkIxsEpRq9I=
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
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=2.0 required=5.0 tests=AWL,BAYES_50,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.2 spammy=D*no, sk:morten_, morten_bjoernsvik AT yahoo DOT no, morten_bjoernsvikyahoono
X-HELO: nm42-vm6.bullet.mail.ne1.yahoo.com
Date: Wed, 30 Dec 2015 13:57:50 +0000 (UTC)
From: morten bjoernsvik <morten_bjoernsvik AT yahoo DOT no>
Reply-To: morten bjoernsvik <morten_bjoernsvik AT yahoo DOT no>
To: "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com>
Message-ID: <98256376.7655764.1451483870196.JavaMail.yahoo@mail.yahoo.com>
In-Reply-To: <1756419477.7642930.1451481716678.JavaMail.yahoo@mail.yahoo.com>
References: <n60kvg$ncl$1 AT ger DOT gmane DOT org> <1756419477 DOT 7642930 DOT 1451481716678 DOT JavaMail DOT yahoo AT mail DOT yahoo DOT com>
Subject: Sv: sshd - difference between keylogin and password
MIME-Version: 1.0
X-IsSubscribed: yes

I set up cygserver, logged in with password ran passwd -R saving the password to registry
then:

mobj AT BPOLMOBJ1 ~
$ ssh -i sa_deploy_private_key.txt test1-front.bptest.local -l sa_deploy
Last login: Wed Dec 30 14:49:54 2015 from 127.0.0.1

sa_deploy AT vmics01t1 ~
$ id
uid=1050685(sa_deploy) gid=1049089(Domain Users) groups=1049089(Domain Users),545(Users),544(Administrators),4(INTERACTIVE),66049(CONSOLE LOGON),11(Authenticated Users),15(This Organization),4095(CurrentSession),70145(Authentication authority asserted identity),1049758(grp_sec_localadmin_test),1050679(grp_sec_localadmin_all_dev_environments),405504(High Mandatory Level)


Same as with password.

Thanks, my only concern is update if the users domain password changes.

--
Mobj





Den Onsdag, 30. desember 2015 13.21 skrev morten bjoernsvik <morten_bjoernsvik AT yahoo DOT no>:
Thanks Achim


I currently do not have any cygserver service running, so I will try and configure it.

--
Mobj





Den Onsdag, 30. desember 2015 13.14 skrev Achim Gratz <Stromeko AT Nexgo DOT DE>:
Am 30.12.2015 um 12:59 schrieb morten bjoernsvik:
> Login in with private key gives less credentials than using password.
> It is a no password private key.
> user is a domain user.

This should help, I'd think.

https://cygwin.com/cygwin-ug-net/ntsec.html#ntsec-nopasswd3

-- 
Achim.

(on the road :-)



--
Problem reports:      http://cygwin.com/problems.html
FAQ:                  http://cygwin.com/faq/
Documentation:        http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019