delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/12/16/10:31:34

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
X-MimeOLE: Produced By Microsoft Exchange V6.0.6249.0
content-class: urn:content-classes:message
MIME-Version: 1.0
Subject: ntsec Question
Date: Mon, 16 Dec 2002 15:30:36 -0000
Message-ID: <FB67B8A1761DFF42800111EE9799614A094848@caebe004.europe.nokia.com>
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
From: <ext-Elaine DOT Andrews AT nokia DOT com>
To: <cygwin AT cygwin DOT com>
X-OriginalArrivalTime: 16 Dec 2002 15:30:36.0480 (UTC) FILETIME=[14B1F400:01C2A518]
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id gBGFVYV07197

I have a user who wants to be able to use ssh without inputted a password. I have installed and got this running successfully. However, now there is a problem with security as anybody who logs into his laptop/desktop would be able to login to numerous UNIX servers without inputting a password. I have started to look at ntsec and have configured this to a semi-working state. My question to you is when they login to cygwin I want to be able to get them to input their NT username and password to allow them in. Looking at the shortcut it runs D:\Cygwin\cygwin.bat and lets them straight into the users home directory. When running login it's asks for a username and then lets them in straight away.

i.e. login: elandrew
Fanfare!!!
You are successfully logged in to this server !!!

elandrew AT IM LOAN PC01 ~

My /etc/passwd is as follows

elandrew AT IM LOAN PC01 ~
$ cat /etc/passwd
Administrator::500:513:U-IM LOAN PC01\Administrator,S-1-5-21-1472800135-602877700-1070557309-500:/home/Administrator:/bin/bash
elandrew::48906:10513:Andrews Elaine,U-NMP\elandrew,S-1-5-21-2120241691-1808037704-1542789818-38906:/home/elandrew:/bin/bash

elandrew AT IM LOAN PC01 ~

2 questions

1. How can I force a password when running the login script.
2. How can I always force a username and password when logging into the cygwin window.

I hope these questions are not too obvious - any help would be greatly appreciated.

Regards
Elaine Andrews




--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.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