delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/11/02/19:22:34

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-ID: <008a01c163fe$e8886360$aa084989@dcs.kcl.ac.uk>
From: "Chris Hannon" <hannonc AT dcs DOT kcl DOT ac DOT uk>
To: <cygwin AT cygwin DOT com>
Subject: Problems with login
Date: Sat, 3 Nov 2001 00:31:41 -0000
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 5.00.2919.6600
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600

Hi,
Can anyone help?
I'm having some problems using login and sshd.

I am connected to a network but not part of a domin (I think - My NT login
does not give me the option to enter a domain).
I have only installed Cygwin a few days ago so I think I'm using 1.3.3.

Whatever password and user name I enter I can't login:

Administrator AT ALONZO ~
$ login
login: Administrator
Password:
Login incorrect

I have editied the batch file that starts bash cywin.bat so that
CYGWIN=ntsec

@echo off
set CYGWIN=ntsec
E:
chdir \cygwin\bin
set CYGWIN=netsec
bash --login -i

I have used mkpasswd and mkgroup to make the passwd and group files

Administrator AT ALONZO /etc
$ mkpasswd -l -g > passwd
$ mkgroup -l >group


passwd file:
============

Everyone:*:0:0:,S-1-1-0::
SYSTEM:*:18:18:,S-1-5-18::
Administrators:*:544:544:,S-1-5-32-544::
Backup Operators:*:551:551:,S-1-5-32-551::
Guests:*:546:546:,S-1-5-32-546::
Power Users:*:547:547:,S-1-5-32-547::
Replicator:*:552:552:,S-1-5-32-552::
Users:*:545:545:,S-1-5-32-545::
Administrator:This_field_is_not_used_by_cygwin_on_nt/2000/xp:500:513:,S-1-5-
21-2004385020-1794000073-1476137813-500:/home/Administrator:/bin/bash
Guest:This_field_is_not_used_by_cygwin_on_nt/2000/xp:501:513:,S-1-5-21-20043
85020-1794000073-1476137813-501:/home/Guest:/bin/bash
hannonc:This_field_is_not_used_by_cygwin_on_nt/2000/xp:1000:513:Chris
Hannon,S-1-5-21-2004385020-1794000073-1476137813-1000:/home/hannonc:/bin/bas
h
VUSR_ALONZO:This_field_is_not_used_by_cygwin_on_nt/2000/xp:1001:513:VSA
Server
Account,S-1-5-21-2004385020-1794000073-1476137813-1001:/home/VUSR_ALONZO:/bi
n/bash

group:
===========

Everyone:S-1-1-0:0:
SYSTEM:S-1-5-18:18:
None:S-1-5-21-2004385020-1794000073-1476137813-513:513:
Administrators:S-1-5-32-544:544:
Backup Operators:S-1-5-32-551:551:
Guests:S-1-5-32-546:546:
Power Users:S-1-5-32-547:547:
Replicator:S-1-5-32-552:552:
Users:S-1-5-32-545:545:



I edited the group part of each user record so that it is not 513:

passwd file v2:
============

Everyone:*:0:0:,S-1-1-0::
SYSTEM:*:18:18:,S-1-5-18::
Administrators:*:544:544:,S-1-5-32-544::
Backup Operators:*:551:551:,S-1-5-32-551::
Guests:*:546:546:,S-1-5-32-546::
Power Users:*:547:547:,S-1-5-32-547::
Replicator:*:552:552:,S-1-5-32-552::
Users:*:545:545:,S-1-5-32-545::
Administrator:This_field_is_not_used_by_cygwin_on_nt/2000/xp:500:544:,S-1-5-
21-2004385020-1794000073-1476137813-500:/home/Administrator:/bin/bash
Guest:This_field_is_not_used_by_cygwin_on_nt/2000/xp:501:545:,S-1-5-21-20043
85020-1794000073-1476137813-501:/home/Guest:/bin/bash
hannonc:This_field_is_not_used_by_cygwin_on_nt/2000/xp:1000:545:Chris
Hannon,S-1-5-21-2004385020-1794000073-1476137813-1000:/home/hannonc:/bin/bas
h
VUSR_ALONZO:This_field_is_not_used_by_cygwin_on_nt/2000/xp:1001:545:VSA
Server
Account,S-1-5-21-2004385020-1794000073-1476137813-1001:/home/VUSR_ALONZO:/bi
n/bash


Does anyone know what I've missed?

Thanks,


Chris Hannon




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