delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/05/17/11:09:37

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sourceware DOT cygnus DOT com>
List-Help: <mailto:cygwin-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
Date: Wed, 17 May 2000 11:00:03 -0400
Message-Id: <200005171500.LAA01683@rtl.cygnus.com>
From: cygwin AT sourceware DOT cygnus DOT com
To: cygwin AT sourceware DOT cygnus DOT com
Subject: [ANNOUNCEMENT] New package `login' in latest
Reply-To: cygwin AT sourceware DOT cygnus DOT com

I have uploaded a version of `login' ported to
Cygwin version 1.1.1 to sourceware.cygnus.com.
You will find it in latest/login, named

	login-1.2.tar.gz
	login-1.2-src.tar.gz

Description:
============

This is the actual port of `login(1)' to work under Cygwin 1.1.1
with eg. telnetd(8).

It's patched to allow login of domain users.
Setting CYGWIN=ntsec is mandatory for that feature.

/etc/passwd and /etc/group have to be created so that
they contain the SIDs of the users and groups. The
new mkpasswd and mkgroup tools since cygwin V1.1.0
create the files that way by default.

Change /etc/passwd either so:

    Change the pw_name field so that it contains the nt-domain
    and the nt-username separated by a backslash:

    domain\user::1104:513:John Doe,S-1-5-21-...

    Disadvantage: You can't see the username in calls to `ls -l'
    anymore because ls shortens the name to 8 characters. Moreover
    you will have to use this long form (domain\user) on the command
    line, eg. in calls to chown(1).

or so:

    The pw_gecos field may contain an additional field, that
    beginns with (upper case!) "U-", followed by the domain
    and the username separated by a backslash.
    CAUTION: The SID _must_ remain the _last_ field in pw_gecos!!!
    BTW: The field separator in pw_gecos is the comma.
    The username in pw_name itself may be any nice name:

    domuser::1104:513:John Doe,U-domain\user,S-1-5-21-...

    Now you may use `domuser' as your login name with telnet!!!
    This is possible additionally for local users, if you don't like
    your NT login name ;-) You only have to leave out the domain:

    locuser::1104:513:John Doe,U-user,S-1-5-21-...

    Disadvantage: No other field in pw_gecos may begin with "U-".


Corinna Vinschen <vinschen AT cygnus DOT com>
Cygwin Developer
Cygnus Solutions, a Red Hat Company


--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


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